title: How to extend an object of the anonymous class
body: <p>I have class method:</p>
  
  <pre><code>public object MyMethod(object obj)
  {
     // I want to add some new properties example "AddedProperty = true"
     // What must be here?
     // ...
  
     return extendedObject;
  }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>var extendedObject = this.MyMethod( new {
     FirstProperty = "abcd",
     SecondProperty = 100 
  });
  </code></pre>
  
  <p>Now the extendedObject has new properties. Help please.</p>