The title is pretty much self-explanatory, I\'m killing myself over this simplicity.
Looked here, but it isn\'t much helpful.
DateTime.Now.Ticks
I was trying to find the answer to this to run some performance testing.
DateTime startTime = DateTime.Now; generatorEntity.PopulateValueList(); TimeSpan elapsedTime = DateTime.Now - startTime; Console.WriteLine("Completed! time(ticks) - " + elapsedTime.Ticks);