When we declaring a int variable the value of that variable become 0.
Example
int a;
The value of a is zero.To assign null value we can use below code
Int? a=null;
Nullable<int>a=null;
When we declaring a int variable the value of that variable become 0.
Example
int a;
The value of a is zero.To assign null value we can use below code
Int? a=null;
Nullable<int>a=null;
Join the conversation! Your thoughts help the community grow.