C# .Net Fun Current .Net Version: 1.1.4322

C# Reference
XML Web Services
Contact Us
Feeds
C# Reference
List: Search:

initializers
Is a:Definition
Namespace:N/A
Assembly:N/A (N/A)
Description:List of comma-seperated expressions or assignment statements used in initializing loop counters such as for.
Example(s):for (int i = 0; i <= 100; i ++) { // this block will get executed 101 times. } // there is only 1 initializer in this loop: int i = 0; // you could also do this: for (int x=0, y=1, z=2; z >= x && y <= 2 && x <= y; x ++) { // this block will be executed 2 times }
 
COPYRIGHT/DISCLAIMER | CONTACT US