C# .Net Fun Current .Net Version: 1.1.4322
Practice C# Online
C# Reference
XML Web Services
T-SQL Scripts
Contact Us
Feeds
C# Reference
List: Search:

while
Is a:Statement Keyword
Applies to Version:C# 1.0
Namespace:N/A
Assembly:N/A (N/A)
Description:Executes a statement until a supplied expression evaluates to false.
Syntax:
while (expression) statement
Example(s):int i = 0; String s = ""; while (i <= 10) { i++; s += i.ToString(); } // s = "12345678910"
 
COPYRIGHT/DISCLAIMER | CONTACT US