Public,protected, private in global code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-17 08:56 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-07-17 04:42 PM
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
