示例#1
0
        public void TestAsyncCalls()
        {
            GetMessage del = this.CallMethodAsync;

            del.BeginInvoke(new AsyncCallback(CallBackMethod), del);
            Console.WriteLine("Waiting in main method for the delegate to complete call asynchronously");
        }