Mono Class Library: System.DateTime Overview | Members

System.DateTime Equality Operator

Returns a bool value indicating whether the two specified instances of DateTime are equal.

public static bool operator== (DateTime d1, DateTime d2)

See Also

DateTime.Equals(object)

Parameters

d1
The first DateTime to compare.
d2
The second DateTime to compare.

Returns

true if d1.Ticks value is equal to the d2.Ticks value; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0