Created
July 6, 2019 03:06
-
-
Save sjehutch/88a85bd7c619ac24291872506af071a7 to your computer and use it in GitHub Desktop.
tasks1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
namespace console1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine(Systems.GetEqual("a", "c")); | |
int count = 500000; | |
Task t = Task.Factory.StartNew(() => Extention.Concatenate(count)); | |
Console.WriteLine("Working..."); | |
t.Wait(); | |
Console.WriteLine($"Done, counted {count} times"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment