proper way assign numer to elements in a List Collection
<p>I am looping through a list of elements, and would like to assign a number to where each element resides in the Collection for deletion puposes. My code below, just gives me the count, is there another option to achieve this. Ex.</p>

<p>0 cat
1 dog
2 fish</p>

<p>ect..</p>

<pre><code>        foreach (string x in localList)
        {
            {
                Console.WriteLine( localList.Count + " " + x);
            }
        }
</code></pre>
