System.TimeSpan.Zero Field

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


public static readonly TimeSpan Zero


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.


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