title: How to get returned value without await opeartor
body: <p>I need to get the returned value without await operator(in below sample I need to get the <code>"hello world"</code> in <code>var y</code> without await operator). Because one method is referred to a lot of places.But my requirement is that method is executed at asynchronously for particular operations. None other time it is enough to be executed as synchronously.</p>
  
  <p>If I put await in all referred places that method needs to change as async and also referred methods need to change as async and await.
  Is there any possibility to get the returned value?</p>
  
  <p>Please find below sample code snippet:</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          var x = getString();
      }
  
      public static async Task&lt;string&gt; getString()
      {
          var y = await GetString2();
          return y;
      }
  
      public static async Task&lt;string&gt; GetString2()
      {
          return "hello world";
      }
  
  }
  </code></pre>
  
  <blockquote>
    <p>Here is there any possibility to get "hello world" string in <strong><code>var y</code></strong> without await operator?</p>
  </blockquote>