title: Adding new method to List<T> over object from which is made of
body: <p>Is there way to add new method to List object over the object from which it's made of .In other word can class be written in such way ,when List is made from it that it adds new method to that List. Here's an exemple:</p>
  
  <pre><code>class Employee
  {
      public int age;
      public Employee(int age)
      {
           this.age = age;
      }
      //some more code here...
  }
  </code></pre>
  
  <p>And then:</p>
  
  <pre><code>List&lt;Employee&gt; sector01 = new List&lt;Employee&gt;(){new Employee(22), new Employee(35)};
  sector01.OutputAll(); //Adds method like this
  </code></pre>