struct Point { public int x = 1; // Error, initializer not permitted public int y = 1; // Error, initializer not permitted }end example] Paragraph 21 This restriction applies only to instance fields. 2 Static fields of a struct are permitted to include variable initializers.
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |