Current .Net Version: 1.1.4322
(select below)
.Net Framework
ASP.NET/Web Forms
C#
SQL Server
Visual C#
Windows Forms
XML Web Services
C# Reference
List:
Access Keyword
Access Modifier Keyword
Attribute
Conversion Keyword
Definition
Literal Keyword
Method Parameter Keyword
Modifier Keyword
Namespace Keyword
Operator
Operator Keyword
Preprocessor Directive
Statement Keyword
Type
Type Keyword
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 po
int
the
jump statement
is defined to some other po
int
in the code. The following are
jump statement
s:
break
,
continue
, default,
goto
,
return
.
Syntax:
jump-statement
;
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