Bite-Size C# 10 - Null Parameter Checking

added by DotNetKicks
8/5/2021 4:44:34 PM

716 Views

Let's continue our Bite-Size C# 10 series with a cool new way to simplify methods with nullable parameters: null parameter checking. C# 9.0 and earlier provides no native way to check if reference types, such as string, have the value null when being passed into a method.


0 comments