Mono Class Library: System.DateTime Overview | Members

System.DateTime.Equals Method

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

public static bool Equals (DateTime t1, DateTime t2)

Parameters

t1
The first DateTime.
t2
The second DateTime.

Returns

true if the two DateTime values are equal; 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