DateTime.operator != Method
Determines whether two specified DateTime objects are not equal.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
public static bool operator != (
DateTimed1,
DateTimed2
)
- d1
A DateTime object that specifies a date and time. - d2
A DateTime object that specifies a date and time.
true if the d1 and d2 objects do not specify the same date and time; otherwise, false.
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.