Skip to content

Instantly share code, notes, and snippets.

@sjehutch
Created July 6, 2019 03:06
Show Gist options
  • Save sjehutch/88a85bd7c619ac24291872506af071a7 to your computer and use it in GitHub Desktop.
Save sjehutch/88a85bd7c619ac24291872506af071a7 to your computer and use it in GitHub Desktop.
tasks1
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