Java System.currentTimeMillis() equivalent in C#
A common idiom in Java is to use the currentTimeMillis()
for timing or scheduling purposes, where you're not interested in the actual milliseconds since 1970, but instead calculate some relative value and compare later invocations of currentTimeMillis()
to that value.
If that's what you're looking for, the C# equivalent is Environment.TickCount
.