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 14 Expressionsprevious at this levelnext at this level 14.9 Relational and type-testing operatorsprevious at this levelnext at this level 14.9.7 String equality operators Paragraph 11 The predefined string equality operators are: :
bool operator ==(string x, string y);  
bool operator !=(string x, string y);  
Paragraph 21 Two string values are considered equal when one of the following is true: Paragraph 31 The string equality operators compare string values rather than string references. 2 When two separate string instances contain the exact same sequence of characters, the values of the strings are equal, but the references are different. [Note: As described in §14.9.6, the reference type equality operators can be used to compare string references instead of string values. end note]
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS