StopWatch SW=new StopWatch(); SW.Start(); for (Int32 i = 0; i < 99999; i++) { for (Int32 j = 0; j < 999; j++) { Int32 a = 37; Int32 b = 37; Double c = Math.Pow(a, b); String d = "abcde"; String e = "abcde"; String f = d + e; } } Console.WriteLine(SW.Elapsed.TotalMilliseconds); SW.Stop(); Console.ReadKey();
Stopwatch SW = new Stopwatch(); SW.Start(); for (int i = 0; i < 99999; i++) { for (int j = 0; j < 999; j++) { int a = 37; int b = 37; double c = Math.Pow(a, b); string d = "abcde"; string e = "abcde"; string f = d + e; } } Console.WriteLine(SW.Elapsed.TotalMilliseconds); SW.Stop(); Console.ReadKey();
int
Int32
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)