How can I put the index number as a value in a foreach?
<p>I have the following code:</p>

<pre><code>foreach (var SubTopic in Model.SubTopic.Description)
{
 &lt;option value="xxx"&gt;SubTopic&lt;/option&gt;
}
</code></pre>

<p>I would like to find a way to insert the index number into xxx as value. 01 for the first, 02 for the second option line etc. </p>

<p>Is there an easy way to do this?</p>
