Get the number of ticks in 1 millisecond in CSharp
Description
The following code shows how to get the number of ticks in 1 millisecond.
Example
// www .ja v a 2s.c o m
using System;
class TimeSpanFieldsDemo
{
static void Main( )
{
Console.WriteLine( TimeSpan.TicksPerMillisecond );
}
}
The code above generates the following result.