The foreach Loop


The foreach loop cycles through the elements of a collection. A collection is a group of objects. C# defines several types of collections, of which one is an array. The foreach loop is examined in Chapter 7, when arrays are discussed.




C# 2.0(c) The Complete Reference
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net