Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2. Then you write async Task AccessTheWebAsync() Commented Jun 29, 2015 at 0:09
  • A fairly Broad question so here are some nice broad examples, how and when to use, why do we need them Commented Jun 29, 2015 at 0:10
  • if there is nothing to return then you will just write await Task(...); Commented Jun 29, 2015 at 0:10
  • 1 is covered in blogs.msdn.com/b/pfxteam/archive/2012/03/24/10287244.aspx (basically "don't do that"). 2 should not be asked in the same question, but is answered by the article you've linked (and additional info referenced from it - Async return Types ). If it would not be summer you'd receive downvotes for asking multiple questions or not reading article you've linked. Commented Jun 29, 2015 at 1:28