| 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 |
Thursday, July 23, 2009
Visual Basic counterparts for each of the C# keywords.
Subscribe to:
Post Comments (Atom)
.jpg)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.