Click or drag to resize
TimeSpanEquals Method (TimeSpan, TimeSpan)
Returns a value that indicates whether two specified instances of TimeSpan are equal.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool Equals(
	TimeSpan t1,
	TimeSpan t2
)

Parameters

t1
Type: SystemTimeSpan
The first time interval to compare.
t2
Type: SystemTimeSpan
The second time interval to compare.

Return Value

Type: Boolean
true if the values of t1 and t2 are equal; otherwise, false.
See Also