Figure 11 Using Delegate Inference
กก
class SomeClass
{   
   delegate void SomeDelegate(string str);   
   public void InvokeMethodAsync()   
   {      
      SomeDelegate del = SomeMethod;         
      del.BeginInvoke("Hello",OnAsyncCallBack,null);
   }   
   void SomeMethod(string str)
   {
      MessageBox.Show(str);
   }
   void OnAsyncCallBack(IAsyncResult asyncResult)   
   {...}
}