The 5 Different Meanings of the Question Mark in C#

In C# the question mark has 5 meanings as of C# 8. Ternary operators 2. Null conditional operator 3. Nullable types (this should be rebranded as nullable value types) 4. Null-coalescing operator 5. Nullable reference types

In Code Tagged