Now, let's learn some more important concepts about tasks that might come in handy. Up until now, we have created tasks that are independent. To create more complex solutions, however, we sometimes need to define relationships between tasks. We can create subtasks, child tasks, as well as continuation tasks to do this. Let's try to understand each of these with examples. Later in this section, we will learn about thread storage and queues.
More on tasks
Continuation tasks
Continuation tasks work more like promises. We can make use of them when we need to chain multiple tasks. The second task starts when the first one finishes and the result of the first task or the exceptions are passed to the child task. We can...