sadaaaa #8
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
string NewStr = "hello Corelevel 2";
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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++)
|
||||
{
|
||||
var a = 0; a += i; a++;
|
||||
|
||||
}
|
||||
Console.WriteLine("{0}", stopWatch2.Elapsed.TotalMilliseconds);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user