What is nullable reference types in C#?
- Feature to help avoid null reference exceptions
- Reference types only
- Value types only
- Types that can be null by default
Explanation
Nullable reference types is a feature that helps developers avoid null reference exceptions by making the compiler aware of null possibilities.