null in C#

sashimi's Avatar, Join Date: Nov 2007
Newbie Member
I wonder what is 'null' in C#. why it is not equal with any '0' ((i means 0x00, '\0', etc.)) even it's value is '0' ?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
null is null but every object has its own null like System.Empty and Color.Empty.
narayan's Avatar
Light Poster
Null is referred to as nothing and it can be assigned to varchar or string variable and also to int

where as 0 is the value assigned to int