Apr 6, 2005 #1 F fguihen Well-known member Joined Nov 10, 2003 Messages 248 Location Eire if i have something like this: Code: foreach(object o in objects) { foreach(object p in objects1) { break; } } will the break break out of both loops or just the inside one?
if i have something like this: Code: foreach(object o in objects) { foreach(object p in objects1) { break; } } will the break break out of both loops or just the inside one?
Apr 6, 2005 #2 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* Just the inner one.