Lately, as part of the major refactoring I’ve been writing about, my team and I have decided to introduce asynchronous programming to a project we’ve been trying to improve. For the most part, that work has been useful and relatively easy, but lately we’ve been running into an issue where several asynchronous tasks are seeming to take longer than they should. The pileup of tasks is causing us to try to determine which one is taking a while.

#async/await #csharp #programming-c

Using Stopwatch and ContinueWith to Measure Task Execution Time in C#
5.80 GEEK