Wednesday, April 25, 2007

foreach statement

C# introduce the foreach statement, which iterates through the elements of an entire array or collection.

foreach ( type identifier in arrayName )
statement



No comments: