class A { void F() { int i = 0; int j = new int(); } }Paragraph 41 Because every value type implicitly has a public parameterless instance constructor, it is not possible for a struct type to contain an explicit declaration of a parameterless constructor. 2 A struct type is however permitted to declare parameterized instance constructors (§18.3.8).
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |