Exemple #1
0
        static void Main(string[] args)
        {
            Manipulate manipulate = new Manipulate();
            Task <int> result     = manipulate.AccessTheWebAsync();

            Console.WriteLine(result.Result);
            string a = "";

            Console.Read();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Manipulate mani   = new Manipulate();
            Task <int> result = mani.AccessTheWebAsync();

            Console.WriteLine(result.Result);
            //mani.DoIndependenceWork();

            Console.ReadKey();
        }