system.nullable

Using Nullable Data Types with C#

By default, the built-in base data types in C# do not allow a value of null. For instance, if you did this:

// this will not compile because int cannot be set to null
int iCount = null;

This will not compile. You will the compiler error: Cannot convert null to 'int' because it is a non-nullable value type.