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