Async Task vs Task

Hi Friends,

In this section, thought to discuss one of the topics, which I come across too often and that is whether to do async task or simply keep as task?

Whenever, async-await gets loaded in the program, it also loads state machine which means eventually, its going to have some extra code. But that makes sense as it wraps error body as well in it. If you don’t wrap it around, then you will end up having tough time identifying or reproducing the issue as this will highlight error some where in program.cs rather than actual method.

Continue reading “Async Task vs Task” »