![]() For more information, see the Tuple equality section of the Tuple types article. To support the = operator, a user-defined struct must overload it.īeginning with C# 7.3, the = and != operators are supported by C# tuples. User-defined struct types don't support the = operator by default. Two operands of the same enum type are equal if the corresponding values of the underlying integral type are equal. For more information and examples, see the Double.NaN or Single.NaN reference article. That means that the NaN value is neither greater than, less than, nor equal to any other double (or float) value, including NaN. ![]() ![]() For the =,, = operators, if any of the operands is not a number ( Double.NaN or Single.NaN), the result of operation is false.
0 Comments
Leave a Reply. |