Nullable Types Null Checking And Coalescing Operators
In this code snippet, we will take a look at the nullable types, null coalescing and checking operators in C#. Reference types are nullable by default, value types like int for example are not. You can make them nullable by appending ? after the data type declaration like so: int?