How can Ioad all Images into an imagelist from a specific folder in c#
<p>How can I load all <code>Images</code> into an image list from a specific folder in c#? thanks!</p>

<pre><code>List&lt;Texture2D&gt; images = new List&lt;Texture2D&gt;();
string folderPath = "MyImages/";
for(int i= 0; i&lt;Count; i++) { 
    try{  
        images.Add(Content.Load&lt;Texture2D&gt;(folderPath + i.ToString));}
    catch{break;}
}
</code></pre>

<p>This works but I need to convert the filenames into 1 to N. But I have to keep the filenames(the name of the personImage) for future use (for recognition output).</p>
