Using foreach with Arrays (C# Programmer's Reference)
Full Name:
Using foreach with Arrays (C# Programmer's Reference)
Short Name:
Using foreach with Arrays (C# Programmer's Reference)
Type of Entity:
C#
Abstract:
C# also provides the foreach statement. This statement provides a simple, clean way to iterate through the elements of an array. For example, the following code creates an array called numbers and iterates through it with the foreach statement:
MSDN Source URL:
http://msdn2.microsoft.com/2h3zzhdw.aspx