Async/Await Calls Gotcha with the CSharp ? Null Propagator

added by DotNetKicks
5/17/2021 4:09:39 PM

765 Views

Null propagation in C# allows for short circuiting of void method calls, but when using result-less `await` async calls, this behavior works decidedly different, resulting in null exception runtime errors. While this behavior makes sense when you break down the command, it's certainly not obvious.


0 comments