title: C#, Nullable decimal
body: <p>In my database, v1 field is nullable field. but I define 0 (default) if the value is null.</p>
  
  <pre><code>public decimal? v1 {
    get {
      return this._v1; 
    }
    set {
      this._v1 = value ?? 0M;
    }
  }
  </code></pre>
  
  <p>so now, the v1 is not nullable variable anymore.</p>
  
  <p>but I can not do this,</p>
  
  <pre><code>decimal v2 = v1;
  </code></pre>
  
  <p><strong>The error message say, Cannot implicitly convert type 'decimal?' to 'decimal'.</strong></p>
  
  <p>In this case, Do I have to convert to decimal, like this?</p>
  
  <pre><code>decimal v2 = Convert.ToDecimal(v1);
  </code></pre>
  
  <p>It very annoying job. and codes are look dirty too.</p>
  
  <p>Anyone know better solution? please advice me.</p>