title: Returning bool from async method
body: <p>I have to use a method as <code>async</code> and return as <code>Task&lt;bool&gt;</code>. But at the <code>await</code> keyword i am getting can not await string as error at compile time itself. I tried to return bool also from the method but in vain .Here is my method..</p>
  
  <pre><code>public async Task&lt;bool&gt; searchName(string Name)
  {
      Group retrievedGroup = new Group();
      string foundGroup = null;
      try
      {
          foundGroup = await Client().Groups
                  .Where(group =&gt; group.DisplayName.Equals(Name))
                  .ExecuteAsync().Result.ToString();
  
           if (foundGroup == "Some Name")
           {
               return true;
           }
           else
           {
               return false;
           }
      }
      catch (){ }
  }
  </code></pre>