Therefore the last option with ContinueWith is the better (best?) solution. Even if you don‘t know the runtimes exacty. It makes sure, run the tasks in parallel, that can while also making Visual, that these tasks (toast, butter, jam) are in sequence.
Nevertheless it is usually enough to know that A takes longer than B to start them in the „right“ order.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes thats true if you can determine the runtimes that exact this would be a neat option.
Therefore the last option with
ContinueWith
is the better (best?) solution. Even if you don‘t know the runtimes exacty. It makes sure, run the tasks in parallel, that can while also making Visual, that these tasks (toast, butter, jam) are in sequence.Nevertheless it is usually enough to know that A takes longer than B to start them in the „right“ order.