... continued
Continues the explanation on async and await keywords.
Continuing with our example from the previous lesson, we'll now make changes to return a string from the async
sleep()
method. Earlier, the return type of the method was set to Task
, we'll now change it to Task<String>
and add a return statement. The changes appear as highlighted lines in the code widget below:
...
Access this course and 1400+ top-rated courses and projects.