What Is Null, Nullable Types In C#
In programming, avoiding unnecessary variables and object creation is considered to be a good practice. Whenever we create a variable or object, memory is allocated to it. In C#, if no memory is allocated to a variable then it has to be null.