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.5 Methods
17.5.2 Static and instance methods
Paragraph 11 When a method declaration includes a static modifier, that method is said to be a static method. 2 When no static modifier is present, the method is said to be an instance method.
Paragraph 21 A static method does not operate on a specific instance, and it is a compile-time error to refer to this in a static method.
Paragraph 31 An instance method operates on a given instance of a class, and that instance can be accessed as this (§14.5.7).
Paragraph 41 When a method is referenced in a member-access (§14.5.4) of the form E.M, if M is a static method, E must denote a type that has a method M, and if M is an instance method, E must denote an instance of a type that has a method M.
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 |

