Friday, March 31, 2017

more await/async notes for C# 5.0 and up

  • you cannot have the await keyword in a C# method without the method itself being async
  • you may just use the Task keyword by itself at a method's return type in lieu of having a Task of void

No comments:

Post a Comment