title: SqlParameter with default value set to 0 doesn't work as expected
body: <p>I was doing something like this:</p>
  
  <pre><code>SqlParameter param = new SqlParameter("@Param", 0) { SqlDbType = SqlDbType.Int };
  
  private void TestParam(SqlParameter param) {
     string test = param.Value.ToString();  // Getting NullReferenceException here
  }
  </code></pre>
  
  <p>But I stop getting the exception when I put it like this:</p>
  
  <pre><code>SqlParameter param = new SqlParameter("@Param", SqlDbType.Int)  { Value = 0 };
  
  private void TestParam(SqlParameter param) {
      string test = param.Value.ToString();  // Everything OK
  }
  </code></pre>
  
  <p>Can anyone tell me why SqlParameter assumes 0 is the same as null?</p>
  
  <p><strong>Edit:</strong> MSDN Explains this here: <a href="http://msdn.microsoft.com/en-us/library/0881fz2y%28v=VS.80%29.aspx">SqlParameter Constructor</a></p>