title: How to create an awaitable class?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8145479/can-constructors-be-async">Can constructors be async</a>  </p>
  </blockquote>
  
  
  
  <p>I have a class Example that pulls several information from the internet on creation.</p>
  
  <pre><code>public class Example
  {
      string information;    
  
      public Example()
      {
          //Pull information
      }
  }
  </code></pre>
  
  <p>Now I would like to let Example become awaitable because it is important that Example is created before continuing the part after creation.</p>
  
  <pre><code>public async void SetupSomething()
  {
      Example ex = new Example();
      await ex;
      // Do something with ex
  }
  </code></pre>
  
  <p>How can I do this?</p>