title: How to make manual alternative to List<> class
body: <p>I need to make alternative to List&lt;> class where I will have 4 methods... Two for adding <code>int</code> items, one from front, other from behind and two for deleting, one from front and other from behind as well. My class should not inherit anything.</p>
  
  <p>Something like this...</p>
  
  <pre><code>public class MyList
  {
      public void AddItemsFront(int pItem)
      {
  
      }
  
      public void AddItemsBehind(int pItem)
      {
  
      }
  
      public void DeleteItemsFront(int pItem)
      {
  
      }
  
      public void DeleteItemsBehind(int pItem)
      {
  
      }
  }
  </code></pre>