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


18 Structs
18.3 Class and struct differences
18.3.2 Inheritance
Paragraph 11 All struct types implicitly inherit from System.ValueType, which, in turn, inherits from class object. 2 A struct declaration may specify a list of implemented interfaces, but it is not possible for a struct declaration to specify a base class.
Paragraph 21 Struct types are never abstract and are always implicitly sealed. 2 The abstract and sealed modifiers are therefore not permitted in a struct declaration.
Paragraph 31 Since inheritance isn't supported for structs, the declared accessibility of a struct member cannot be protected or protected internal.
Paragraph 41 Function members in a struct cannot be abstract or virtual, and the override modifier is allowed only to override methods inherited from the type System.ValueType. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

