Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2006, 02:45 AM
Registered User
Join Date: Sep 2006
Location: cebu, , Philippines.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jtpopol Send a message via Yahoo to jtpopol
Default c# feature request?


how does someone give control to an outermost loop from an inner loop using break or continue? i've digged up on c# manual but it seems they don't support it like java. i would be glad if someone would give me a work-around in a structured way..

the problem:

for(int y=height; y > 0;y--)
  for(int x=0; x < width;x++){
      for(int x1=circle.Center.X - 4; x1 > 0;x1--){
        for(int y1=0;y1 < circle.Center.Y - 4;y1++){
           return true;
          //here i want to transfer the control to someLabel
in java, we could do a
continue someLabel;
break someLabel;
could someone help with achieving this in c# without much hassle?

thanks a lot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
request forwarging & request redirection hafizmuhammadmushtaq Servlets 2 April 24th, 2008 12:42 AM
Mail Block Feature Request Imar Forum and Wrox.com Feedback 2 May 27th, 2004 01:58 AM
New Feature Request Ben Horne Forum and Wrox.com Feedback 12 April 28th, 2004 02:37 PM
Another Feature Request Imar Forum and Wrox.com Feedback 0 September 10th, 2003 01:57 PM
Feature Request Imar Forum and Wrox.com Feedback 9 September 2nd, 2003 08:24 AM

All times are GMT -4. The time now is 01:07 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.