Mono Class Library: System.TimeSpan Overview | Members

System.TimeSpan.Equals Method

Determines whether the current instance and the specified TimeSpan represent the same value.

public bool Equals (TimeSpan obj)

Parameters

obj
The TimeSpan to compare to the current instance.

Returns

true if obj represents the same value as the current instance; otherwise, false.

Remarks

Note: This method is implemented to support the IEquatable<TimeSpan> interface.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0