System.TimeSpan.GetHashCode Method

Returns a hash code for this instance.

Syntax

public override int GetHashCode ()

Returns

A 32-bit signed integer hash code.

Remarks

Two TimeSpan objects might have the same hash code even though they represent different time values.

Requirements

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