How can i get 0 as integer value from (int)null
.
EDIT 1: I want to create a function that will return me default values for null representation in their respective datatypes.
EDIT 2: How can i work in this scenario for using default.
(int)Value
Where Value can be null or any integer value. I dont know datatype of value at run time. But i will assure that Value should either contain null or Integer value only.