Hi,
As we know Int32 and DateTime is struct,struct is value type, hence we cannot assign null value to int and DateTime. where if you consider string,it is sealed class String, hence we can assign null to string.
so if you want to make value type to nullable, so you can put ? after datatype.
C#
int sal = null; //It will give syntex error
int? sal = null; // will work
DateTime date = null; //will give syntex error
DateTime? date = null; // will work
string name = null; // It is fine because String is class i.e. reference type
I hope this will help you out.