static void Main(string[] args) { Manipulate manipulate = new Manipulate(); Task <int> result = manipulate.AccessTheWebAsync(); Console.WriteLine(result.Result); string a = ""; Console.Read(); }
static void Main(string[] args) { Manipulate mani = new Manipulate(); Task <int> result = mani.AccessTheWebAsync(); Console.WriteLine(result.Result); //mani.DoIndependenceWork(); Console.ReadKey(); }