Nulls Explained
In this page we'll Demo and explain:
nullis a special value that indicates that there is no valuenullis different than '0' or '"";- if a member value was not set, it's value is
null - Explain that when you get the "Object reference not set to an instance of an object" exception, it means that you are trying to use a field that has a
nullvalue - it's value was not set. - Not all types can have a null value, for example
int,bool, andDateTimecan not havea a null value because they arestructs
string s = null;
Introducing Nulls
More on Nulls
---Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com