Delete 'Test.cs'

nh
This commit is contained in:
2022-03-22 06:54:43 +00:00
parent b332c79502
commit 827ec4749e
-27
View File
@@ -1,27 +0,0 @@
using System;
using System.Diagnostics;
namespace TestConsoleApp
{
class Test
{
public static void Execute()
{
var stopWatch = Stopwatch.StartNew();
for (int i = 0; i < 99999; i++)
{
var a = 0;a += i;a++;
}
Console.WriteLine("{0}", stopWatch.Elapsed.TotalMilliseconds);
var stopWatch2 = Stopwatch.StartNew();
for (int i = 0; i < 99999; i++)
{
string k = string.Empty;
var a = 0; a += i; a++;
}
Console.WriteLine("{0}", stopWatch2.Elapsed.TotalMilliseconds);
}
}
}