C# 8.0 nullable references: defeating the point with empty strings by @endjin endjin.com
In this post, I'll explain why you should avoid the temptation to apply a quick, and seemingly easy fix for a particular warning that can occur when you start using C#'s nullable references feature. You can silence the compiler by initializing string properties to an empty string, but you really shouldn't.
Report Story
Leave Your Comment