C# TimeSpan TicksPerSecond
Description
TimeSpan TicksPerSecond
represents the number of ticks
in 1 second.
Syntax
TimeSpan.TicksPerSecond
has the following syntax.
public const long TicksPerSecond
Example
The following example references and displays the value of the TicksPerSecond field.
//w ww. ja v a2 s.com
using System;
class TimeSpanFieldsDemo
{
static void Main( )
{
Console.WriteLine( TimeSpan.TicksPerSecond );
}
}
The code above generates the following result.