testing 100 #5

Closed
premkumar wants to merge 8 commits from CoreLevel2 into master
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestConsoleApp
{
public class Integration
{
string str = string.Empty;
}
}
+1 -1
View File
@@ -11,12 +11,12 @@ namespace TestConsoleApp
for (int i = 0; i < 99999; i++) for (int i = 0; i < 99999; i++)
{ {
var a = 0;a += i;a++; var a = 0;a += i;a++;
} }
Console.WriteLine("{0}", stopWatch.Elapsed.TotalMilliseconds); Console.WriteLine("{0}", stopWatch.Elapsed.TotalMilliseconds);
var stopWatch2 = Stopwatch.StartNew(); var stopWatch2 = Stopwatch.StartNew();
for (int i = 0; i < 99999; i++) for (int i = 0; i < 99999; i++)
{ {
string k = string.Empty;
var a = 0; a += i; a++; var a = 0; a += i; a++;
} }