Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore this chapter's topics with deeper research.
Exercise 13.1 – Test your knowledge
Answer the following questions:
- What information can you find out about a process?
- How accurate is the
Stopwatchclass? - By convention, what suffix should be applied to a method that returns
TaskorTask<T>? - To use the
awaitkeyword inside a method, what keyword must be applied to the method declaration? - How do you create a
childtask? - Why should you avoid the
lockkeyword? - When should you use the
Interlockedclass? - When should you use the
Mutexclass instead of theMonitorclass? - What is the benefit of using
asyncandawaitin a website or web service? - Can you cancel a task? How?
Exercise 13.2 – Explore topics
Use the following links to read more about this chapter...