How to for each loop in C# Array
Arrays are using for store similar data types grouping as a single unit. We can access Array elements by its numeric index. The array indexes start at zero. The default value of numeric array elements are set to zero, and reference elements are set to null. Click the following link to learn more about C# Arrays.
Array Declaration and initialization
Retrieve a single item from Array.
It is very convenient to retrieve the Array elements using foreach loop . The following C# program shows how to retrieve the elements in an Array using foreach loop.