Return types of asynchronous functions

In asynchronous programming, the async methods can have three possible return types. These are as follows:

  • void
  • Task
  • Task<TResult>

We will take a look at each return type in the following recipe.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.252.204