Tuesday, March 10, 2009

Assign Null to Integer

 int? someInt = null ;

or use nullable<> type
eg: Nullable< int > someInt = null;

1 comment:

Twilight Sense said...

Nullable< int > SomeInt = null;