1035, 1015, 1020, 1025, 1010
Stopwatch sw = new Stopwatch(); sw.Start(); f(); sw.Stop(); Console.WriteLine(sw.Elapsed);
.TotalMilliseconds
Stopwatch sw = new Stopwatch(); sw.Start(); f(); sw.Stop(); Console.WriteLine($"{sw.TotalMilliseconds / 1000} seconds");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)