'Usage
Parameters
- left
- An instance of TdNumber.
- right
- An instance of TdNumber.
'Usage
false
when left and right operands are Null. Therefore the reverse condition can be considered true
. TdNumber implementation is very similar to the Nullable class in this regard.TdNumber x = TdNumber.Null; TdNumber y = new TdNumber(1.0M); if (x == y) { // x is equal to y. Console.WriteLine(@"X is equal to Y"). } else { // x is not equal y Console.WriteLine(@"X is not equal to Y"). } TdNumber y = TdNumber.Null; if (x == y) { // x is equal to y. Console.WriteLine(@"X is equal to Y"). } else { // x is not equal y Console.WriteLine(@"X is not equal to Y"). }
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |