You're absolutely right. This new and improved version of the code should
work better for you:
System.Nokia.MobilePhone thePhone = new System.Nokia.MobilePhone();
List<contcats> contcatsList = new List<contcats>(thePhone.GrabContcats());
foreach (System.Nokia.Concat currentConcat in concatsList)
{
Console.WriteLine(currentConcat.ToString());
}
Console.ReadLine(); // moved this line out of the loop - now it won't pause
at every contcat.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.