Accessing a Collection
<p>I'm trying to make a class where you can access a collection in it and get an item using a string index, (I hope this makes sense), basically I would like to know either what this is called or how to do it?</p>

<p>here is an example of what I mean;</p>

<pre><code>string blah = SomeClass.Items["Item1"].ToString();
</code></pre>

<p>Hopefully someone can make some sense of this.</p>

<p>Thank You.</p>
