How to implement foreach on a class
public IEnumerator GetEnumerator()
{
    foreach (FileInfo file_info in mList)
        yield return file_info;
}
page_revision: 1, last_edited: 1254839553|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License