title: callbacks in c#, calling order and return
body: <p>A simple question on callbacks. Do callback functions return to the next line in the calling function after completion ?</p>
  
  <pre><code>class A
  {
   public delegate void A();
   public event A onA;
  
   public void func()
   {
     //some code 1
    onA();
    //some code 2 
   }
  </code></pre>
  
  <p>So the question is will onA event go and execute the respective handler and then come back to 'some code 2' bit or is this asynchronous and code will not wait for the event to be fully handled?</p>
  
  <p>I hope the question is clear.</p>
  
  <p>Thanks
  }</p>