2 using System
.Threading
;
3 using System
.Runtime
.Remoting
;
4 using System
.Runtime
.Remoting
.Messaging
;
8 public delegate void TestCallback (int i
);
10 public static void Test (int i
)
12 Console
.WriteLine (i
);
15 public static void Main ()
17 TestCallback cb
= new TestCallback (Test
);
18 IAsyncResult ar
= cb
.BeginInvoke (100, null, null);
19 ar
.AsyncWaitHandle
.WaitOne ();