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:
do
Is a:
Statement Keyword
Applies to Version:
C# 1.0 and later
Namespace:
N/A
Assembly:
N/A (N/A)
Description:
Executes a
statement
continuously until a specified
expression
evaluates to false. Be aware that the
do
block
of code if executed be
for
e the
while
expression
is evaluted - this means the
do
block
of code will execute at le
as
t one time.
Syntax:
do
statement
while
(
expression
);
Example(s):
int i = 0; do { i ++; } while (i <= 9); MessageBox.Show(i.ToString()); // will print "10"
COPYRIGHT/DISCLAIMER
|
CONTACT US