System.TimeSpan.Zero Field

Represents the zero TimeSpan value. This field is read-only.

Syntax

public static readonly TimeSpan Zero

Remarks

Because the value of the TimeSpan.Zero field is a TimeSpan object that represents a zero time value, you can compare it with other TimeSpan objects to determine whether the latter represent positive, non-zero, or negative time intervals. You can also use this field to initialize a TimeSpan object to a zero time value.

Requirements

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