Term | Used With… | Visibility |
---|---|---|
Public | Variables/Properties/Methods/Types | Anywhere in or outside of a project |
Private | Variables/Properties/Methods/Types | Only in the block where defined |
Protected | Variables/Properties/Methods | Can be used in the class where defined. Can be used within any inherited class. |
Friend | Variables/Properties/Methods | Can only be accessed by code in the same project/assembly. |
ProtectedFriend | Variables/Properties/Methods | Combination of Protected and Friend |
I have created this blog to place some of important things on it for my personal use and also to help others. Now a days I am doing job as Software Engineer in a company. I have completed my graduation in Computer Science from University of Sindh, Jamshoro, Pakistan.
Monday, July 28, 2008
.NET ACCESS MODIFIERS
There are Five Access Modifiers available in .NET. Following are the functionalities of these Modifiers.
Subscribe to:
Post Comments (Atom)
Docker Tutorial
I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...
-
In my case, this error pertains to Oracle Merge query . After 30 minutes of time wastage and a lot of hunting on different forums, I come to...
-
Above problem occur when you have not added a group (of which User try to login) in your local policy login. To resolve the issue, follow t...
-
Dear Readers, I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascrip...
No comments:
Post a Comment