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 17 Classesprevious at this levelnext at this level 17.9 Operatorsprevious at this levelnext at this level 17.9.2 Binary operators Paragraph 11 A binary operator must take two parameters, at least one of which must have the class or struct type in which the operator is declared. 2 A binary operator can return any type. Paragraph 21 The signature of a binary operator consists of the operator token (+, -, *, /, %, &, |, ^, <<, >>, ==, !=, >, <, >=, or <=) and the types of the two formal parameters. 2 The return type and the names of the formal parameters are not part of a binary operator's signature. Paragraph 31 Certain binary operators require pair-wise declaration. 2 For every declaration of either operator of a pair, there must be a matching declaration of the other operator of the pair. 3 Two operator declarations match when they have the same return type and the same type for each parameter. 4 The following operators require pair-wise declaration:
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS