C# Null! Tip

C# 8.0 introduced non-nullable reference types. Sometimes, however, you want to late initialize a field, like in Kotlin: You can do this in C# using null! Usefulness C# non-nullable references are very useful, but you still need to be disciplined, code defensively, and make good use of guard classes. Null exceptions are not that hard […]