Jon Jagger
jon@jaggersoft.com
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 Specificationpreviousnextprevious at this levelnext at this level 20 Interfacesprevious at this levelnext at this level 20.2 Interface membersprevious at this levelnext at this level 20.2.2 Interface properties Paragraph 11 Interface properties are declared using interface-property-declarations: interface-property-declaration : attributesopt newopt type identifier { interface-accessors } interface-accessors : attributesopt get ; attributesopt set ; attributesopt get ; attributesopt set ; attributesopt set ; attributesopt get ; Paragraph 21 The attributes, type, and identifier of an interface property declaration have the same meaning as those of a property declaration in a class (§17.6). Paragraph 31 The accessors of an interface property declaration correspond to the accessors of a class property declaration (§17.6.2), except that the accessor body must always be a semicolon. 2 Thus, the accessors simply indicate whether the property is read-write, read-only, or write-only.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS