Overview
If you need to work with multiple objects of
the same type, you can use collections and arrays. C# has a special
notation to declare and use arrays. Behind the scenes, the
Array class comes into play that offers
several methods to sort and filter the elements inside the
array.
Using an enumerator, you can iterate through all
the elements of an array.
This chapter discusses the following:
-
Simple arrays
-
Multidimensional arrays
-
Jagged arrays
-
Array class
-
Interfaces for arrays
-
Enumerations