title: what value C# set property return?
body: <p>I just write "strange" code, but the build success.
  Code:</p>
  
  <pre><code>SqlCommand cmd = null;
  SqlParameter p1 = new SqlParameter();
  // s="@aa"
  var s = (p1.ParameterName = "@aa");
  
  cmd.Parameters.AddWithValue(p1.ParameterName = "@aa",p1.Value = "aaa");
  </code></pre>
  
  <h2>so i wonder why the set property return value "@aa"?</h2>
  
  <p>I don't think this is SQL Parameters issue,so i write other sample code:</p>
  
  <pre><code>    TestClass t1 = new TestClass();
      // result="testName"
      var result = (t1.Name = "testName");
      string returnName = t1.TestName(t1.Name = "testName");
  </code></pre>