.NET
•  Greatis •  Security •  AppDatabase •  Utilities •  Delphi/CB • Visual Basic •  just4fun
.NET Software
.NET Components for Visual Studio .NET, Delphi 8, Delphi 2005 and Delphi 2006
 .NET     Entire site
More Info
Delphi to C#
Index

.NET
Form Designer .NET

See also
Delphi VCL software
Visual Basic 6 software
Hot Offer

Form Desigber .Net

Delphi to C#
Language
while loop

  Delphi  

       while loop executes the code while the control condition is True:
var
  f: TextFile;
  S: string;
  ..
  while not Eof(f) do
  begin
    Readln(f,S);
    // some processing of the S string here
  end;
Important feature of while loop is checking the control condition before first iteration, so if the contition is False initially, the loop will never execute.
 
 
  C#

The while statement executes a statement or a block of statements until a specified expression evaluates to false.
int i = 1; 
while( i < 10 )
{
   // do something
   i++;
}

Lost features     
Added features
Warnings
Additional information

 
 


Greatis Software Greatis | Security | AppDatabase | Utilities | Delphi/CB | Visual Basic | .NET | just4fun

Contacts | Add to Favorites | Recommend to a Friend | Privacy Policy | Copyright © 1998-2009 Greatis Software

eXTReMe Tracker