any way to convert from DB.Null to decimal in C#
<p>Is there any way to convert from DB.Null to decimal in C#?</p>

<p>Like </p>

<pre><code>        Object[] returnvalue = new Object[1];

        returnvalue[0] = null;

        returnvalue[0] = Convert.ToDecimal(returnvalue[returnvalue.Length - 1]);
</code></pre>

<p>Though CLR is saying that DBNull.Value cannot be type casted. Still I want to know is there </p>

<p>any work around?
Thanks in advance</p>
