What is the equivalent of Java\'s System.currentTimeMillis() in C#?
System.currentTimeMillis()
If you are interested in TIMING, add a reference to System.Diagnostics and use a Stopwatch.
For example:
var sw = Stopwatch.StartNew(); ... var elapsedStage1 = sw.ElapsedMilliseconds; ... var elapsedStage2 = sw.ElapsedMilliseconds; ... sw.Stop();