cancel
Showing results for 
Search instead for 
Did you mean: 

Public,protected, private in global code

DungLe
Level 3
In global code what is the meaning of €œPublic€, €œPrivate€ or €œprotected€ keyword? I saw that code stage in object could access any variable/methods declared in €œglobal code€ and in other object we only access methods from this object if we published them. So these keywords doesn€™t have any role. Could you please advise?
1 REPLY 1

Denis__Dennehy
Level 15
For support with .NET programming you need to look at online references (such as MSDN) and .NET training manuals. I have just done an internet search for .NET public v protected and the very first result answers your question: https://stackoverflow.com/questions/614818/what-is-the-difference-betwe