null in C#
|
Newbie Member
|
|
| 23Nov2007,14:33 | #1 |
|
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' ?
|
|
Go4Expert Founder
|
![]() |
| 23Nov2007,17:38 | #2 |
|
null is null but every object has its own null like System.Empty and Color.Empty.
|
|
Light Poster
|
|
| 9Apr2008,17:36 | #3 |
|
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 |

