what is the difference between the two access specifiers internal and public ? [Resolved]

Posted by Raj_Chennai under C# on 3/9/2012 | Points: 10 | Views : 2127 | Status : [Member] | Replies : 5
what is the difference between the two access specifiers internal and public ?

raj


Responses

Posted by: Hmanjarawala on: 3/9/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Inernal is a kind of limited public access. means user can access internal members or methods within Assembly only. internal members and methods are not visible outside assembly. so internal members treat same as public within Assembly boundry.

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 3/9/2012 [Member] Silver | Points: 25

Up
0
Down
MSDN http://msdn.microsoft.com/en-us/library/ba0a1yw2.aspx

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj_Chennai on: 3/9/2012 [Member] Starter | Points: 25

Up
0
Down
thank you sir,can u give some example for this.....

raj

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shubham on: 3/10/2012 [Member] Starter | Points: 25

Up
0
Down
dear in simple on relates to life....
your pet name only know to ur family or frndzzz.. but ur original name knows family,frndzz as well as all over

so accordin to this comp the pet name is internal and original name is public....


thankyou..

Thanks&Regards:-
Shubham Choudhary
Software Engineer
www.facebook.com/shubham.kunar

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj_Chennai on: 3/15/2012 [Member] Starter | Points: 25

Up
0
Down
hi,
thank you

raj

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response