Current .Net Version: 1.1.4322
Home
Articles
Practice C# Online
C# Reference
XML Web Services
RSS Feeds
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog
ROR XML Info.
C# Reference
The world's largest C# Language & Framework Class Library Reference Database (second only to Microsoft's)!
Language Reference:
Language Search:
Framework Class Library Reference:
Framework Class Library Search:

jump statement
Is a:Definition
Applies to Version:C# 1.0 and later
Namespace:N/A
Assembly:N/A (N/A)
Description:A statement that transfers control from the point the jump statement is defined to some other point in the code. The following are jump statements: break, continue, default, goto, return.
Syntax:
jump-statement;
MSDN:http://msdn.microsoft.com/library/en-us/csspec/html/vclrfcsharpspec_8_9.asp?frame=true
Example(s):String final = ""; foreach (String s in new String[] {"a", "b", "c"}) { if (s == "b") continue; final += s; } MessageBox.Show(final); // will print "ac"
 
COPYRIGHT/DISCLAIMER | CONTACT US