System.TimeSpan.Ticks Property

Gets the number of ticks that represent the value of the current TimeSpan structure.

Syntax

public long Ticks { get; }

Value

A long specifying the number of ticks represented by the current instance.

Remarks

The smallest unit of time is the tick, which is equal to 100 nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond. The value of the TimeSpan.Ticks property can be negative or positive to represent a negative or positive time interval.

Requirements

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