Export (0) Print
Expand All

10.2.3 Access modifiers

Visual Studio .NET 2003

A class-member-declaration can have any one of the five possible kinds of declared accessibility (Section 3.5.1): public, protected internal, protected, internal, or private. Except for the protected internal combination, it is a compile-time error to specify more than one access modifier. When a class-member-declaration does not include any access modifiers, private is assumed.

Show:
© 2014 Microsoft