title: Change Default Value of a Class
body: <pre><code>public class MyClass
  {
      public string myString;
  
      public MyClass(string s)
      {
          this.myString = s;
      }
  }
  </code></pre>
  
  <p>In <code>IEnumerable&lt;MyClass&gt;</code> how can I change the default value of <code>FirstOrDefault()</code> method<br/>
  For example I want to return <code>new MyClass("HelloWorld");</code></p>
  
  <p>Edit: Is there a way to override default value of a Class?<br/>
  Like Default Value of <code>MyClass</code> is <code>new MyClass("Default");</code></p>