'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"). }
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019