Mono Class Library: System.TimeSpan Overview | Members

System.TimeSpan.Equals Method

Determines whether two TimeSpan structures represent the same type and value.

public static bool Equals (TimeSpan t1, TimeSpan t2)

Parameters

t1
The first instance of TimeSpan to compare for equality.
t2
The second instance of TimeSpan to compare for equality.

Returns

true if t1 and t2 represent the same 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