Get the number of ticks in 1 second in CSharp
Description
The following code shows how to get the number of ticks in 1 second.
Example
// w ww. j a v a2s. c o m
using System;
class TimeSpanFieldsDemo
{
static void Main( )
{
Console.WriteLine( TimeSpan.TicksPerSecond );
}
}
The code above generates the following result.