title: Make object that encapsulates List<> accessable via [] operator?
body: <p>I have a class that I made that is basically an encapsulated <code>List&lt;&gt;</code> for a certain type. I can access the List items by using <code>[]</code> like if it was an array, but I don't know how to make my new class inherit that ability from <code>List&lt;&gt;</code>. I tried searching for this but I'm pretty sure I don't know how to word correctly what I want to do and found nothing useful. </p>
  
  <p>Thanks!</p>