C#, dynamic object names?
<p>Suppose I have a list of objects </p>

<pre><code>List&lt;dogClass&gt; DogList = new List&lt;dogClass&gt;();
</code></pre>

<p>and I want to automatically add objects to it, like </p>

<pre><code>        dogClass myDog1 = new dogClass();
        DogList.Add(myDog1);
</code></pre>

<p>then myDog2, myDog3, etc. any ideas how to do it?</p>

<p>Thanks!</p>
