premkumar 3 years ago
parent
commit
df84000232
1 changed files with 0 additions and 27 deletions
  1. 0
    27
      Test.cs

+ 0
- 27
Test.cs View File

@@ -1,27 +0,0 @@
1
-using System;
2
-using System.Diagnostics;
3
-
4
-namespace TestConsoleApp
5
-{
6
-    class Test
7
-    {
8
-       public static void Execute()
9
-        {
10
-            var stopWatch = Stopwatch.StartNew();
11
-            for (int i = 0; i < 99999; i++)
12
-            {
13
-                var a = 0;a += i;a++;
14
-
15
-            }
16
-            Console.WriteLine("{0}", stopWatch.Elapsed.TotalMilliseconds);
17
-            var stopWatch2 = Stopwatch.StartNew();
18
-            for (int i = 0; i < 99999; i++)
19
-            {
20
-               var a = 0; a += i; a++;
21
-
22
-            }
23
-            Console.WriteLine("{0}", stopWatch2.Elapsed.TotalMilliseconds);
24
-
25
-        }
26
-    }
27
-}

Loading…
Cancel
Save