Compares two
TdIntervalSecond instances to determine whether they are equal.
Parameters
- left
- A TdIntervalSecond instance.
- right
- A TdIntervalSecond instance.
Return Value
true
if the two TdIntervalSecond instances are equal, false
otherwise.
The following code example uses various comparison methods and operators.
TdIntervalSecond firstInterval = new TdIntervalSecond(5, 15);
TdIntervalSecond secondInterval = new TdIntervalSecond(20, 15);
// The following comparison methods and operators are equivalent
if (false == TdIntervalSecond.Equals(firstInterval, secondInterval) ||
firstInterval != secondInterval ||
true == TdIntervalSecond.NotEquals(firstInterval, secondInterval) )
{
Console.WriteLine(“firstInterval does not equal secondInterval”);
}
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2