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

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

            Console.Read();
        }
示例#2
0
文件: Program.cs 项目: khabt/MVCAjax
        static void Main(string[] args)
        {
            Manipulate mani   = new Manipulate();
            Task <int> result = mani.AccessTheWebAsync();

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

            Console.ReadKey();
        }