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.7 Events
17.7.3 Static and instance events
Paragraph 11 When an event declaration includes a static modifier, the event is said to be a static event. 2 When no static modifier is present, the event is said to be an instance event.
Paragraph 21 A static event is not associated with a specific instance, and it is a compile-time error to refer to this in the accessors of a static event.
Paragraph 31 An instance event is associated with a given instance of a class, and this instance can be accessed as this (§14.5.7) in the accessors of that event.
Paragraph 41 When an event is referenced in a member-access (§14.5.4) of the form E.M, if M is a static event, E must denote a type, and if M is an instance event, E must denote an instance.
Paragraph 51 The differences between static and instance members are discussed further in §17.2.5. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

