Monday, May 21, 2007

Access Specifiers

What are the access-specifiers available in c#?
Private, Protected, Public, Internal, Protected Internal.

Explain about Protected and protected internal, “internal” access-specifier?
protected - Access is limited to the containing class or types derived from the containing class. internal - Access is limited to the current assembly.protected internal - Access is limited to the current assembly or types derived from the containing class.

No comments: