I’d try to avoid it, but you could use…
goto
However, angry mobs with pitchforks become an occupational hazard if you choose to do so.
More Related Contents:
- c# home works can’t solve [closed]
- Getting same numbers from random number generator even though it’s out of the loop. Why? [closed]
- Is using a ‘goto’ statement bad?
- ‘do…while’ vs. ‘while’
- Access variable inside while loop from outside (C#)?
- for and while loop in c#
- Immediate exit of ‘while’ loop in C++ [closed]
- Iterating through a List and .Contains isn’t catching string [closed]
- Cleanest way to write retry logic?
- Localization of DisplayNameAttribute
- How do I set the selected item in a comboBox to match my string using C#?
- What .NET collection provides the fastest search
- Open default mail client along with a attachment
- Combining multiple Attributes to a single Attribute – Merge Attributes
- Getting All Controllers and Actions names in C#
- Enable Entity Framework 6 for MySql (C#) in WinForms of Microsoft Visual Studio 2013
- JsonConverter with Interface
- WebBrowser print settings
- Is there a way to detect if a debugger is attached to another process from C#?
- The entity or complex type ‘ ‘ cannot be constructed in a LINQ to Entities query [duplicate]
- Is there a serializable generic Key/Value pair class in .NET?
- How do you bind an Enum to a DropDownList control in ASP.NET?
- Changing startup form in C#
- Conditionally required property using data annotations
- Interoperating between Matlab and C#
- How can I get the baseurl of site?
- How do I force full post-back from a button within an UpdatePanel?
- All cases covered Bresenham’s line-algorithm [closed]
- Setting Button FlatStyle in WPF
- Incorrect string value: ‘\xEF\xBF\xBD’ for column