2 ms·
The rule: If you need to call an async method, then you make your method also async. As such, your callers will then also need to be async. Visual studio will
by wvenable 5y ago
The rule: If you need to call an async method, then you make your method also async. As such, your callers will then also need to be async.
Visual studio will actually give you a little warning if you make a method async and then don't await on any async methods.