C# | VB | |
Class cannot be inherited (cannot be a base class). | Sealed | NotInheritable |
Class cannot be instantiated but only used as based | Abstract | MustInherit |
For class members: member is accessible only from the | Private | Private |
For class members: member is accessible only from types | Internal | Friend |
For members: member is accessible from the class in | Protected | Protected |
Combines the access of Protected and Internal for a | Protected Internal | Protected Friend |
Access is not restricted. | Public | Public |
Hides a member inherited from a base class. | New | Shadows |
No comments:
Post a Comment
Post your comments here: