fguihen Posted April 6, 2005 Posted April 6, 2005 if i have something like this: foreach(object o in objects) { foreach(object p in objects1) { break; } } will the break break out of both loops or just the inside one? Quote
Administrators PlausiblyDamp Posted April 6, 2005 Administrators Posted April 6, 2005 Just the inner one. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.