async void hides exceptions.
Only valid
-
Event handlers
Wrong
async void Process() { throw new Exception(); }
Correct
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
async void hides exceptions.
Only valid
Event handlers
Wrong
async void Process() { throw new Exception(); }
Correct
async Task Process()