Simplify stop watch initialization

This commit is contained in:
Paul Pacheco 2018-12-26 18:42:08 -06:00
parent cf56c0ed79
commit e07ad53c55

View File

@ -17,11 +17,10 @@ public static class NetworkTime
// Date and time when the application started
static readonly Stopwatch stopwatch;
static readonly Stopwatch stopwatch = new Stopwatch();
static NetworkTime()
{
stopwatch = new Stopwatch();
stopwatch.Start();
}