Apr 6, 2005 #1 F fguihen Junior Contributor 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 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK Just the inner one.