title: How to create a custom collection in .NET 2.0
body: <p>Hi I want to create my custom collection, I am deriving my custom collection class from CollectionBase class as below:</p>
  <pre><code>public class MyCollection : System.Collections.CollectionBase
  {
      MyCollection(){}
      public void Add(MyClass item)
      {
          this.List.Add(item);
      }
  }
  
  class MyClass
  {
      public string name;
  }
  </code></pre>
  <p>Let me ask a few questions:</p>
  <ol>
  <li>Whether this approach is correct and new, as I working on .NET 3.5 framework.</li>
  <li>I want to expose this collection from my web service ( WCF) .How can I do that?</li>
  <li>Do I have to implement GetEnumerator?</li>
  <li>Whether this will Bind to DataGridView.</li>
  </ol>