Hello,
I am iterating through objects and have the following case:
foreach (classA objectA in classAList)
{
if (classA.count0)
{
//now I need to get out of the foreach loop if so,otherwise to keep
iterating
}
}
What is the best way to do it?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Comment