Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specification


17 Classes
17.1 Class declarations
17.1.1 Class modifiers
Paragraph 11 A class-declaration may optionally include a sequence of class modifiers: class-modifiers : class-modifier class-modifiers class-modifier class-modifier : new public protected internal private abstract sealed
Paragraph 21 It is a compile-time error for the same modifier to appear multiple times in a class declaration.
Paragraph 31 The new modifier is permitted on nested classes. 2 It specifies that the class hides an inherited member by the same name, as described in §10.2.2. 3 It is a compile-time error for the new modifier to appear on a class declaration that is not a nested class declaration.
Paragraph 41 The public, protected, internal, and private modifiers control the accessibility of the class. 2 Depending on the context in which the class declaration occurs, some of these modifiers may not be permitted (§10.5.1).
Paragraph 51 The abstract and sealed modifiers are discussed in the following sections. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

