September 2021
Intermediate to advanced
1008 pages
31h 9m
English
If you need to work with multiple objects of the same type, you can use collections (see Chapter 8, “Collections”) and arrays. C# has a special notation to declare, initialize, and use arrays. Behind the scenes, the Array class comes into play, which offers several methods to sort and filter the elements inside the array. Using an enumerator, you can iterate through all the elements of the array.
If you need to use multiple objects of the same type, you can use an array. An array is a data structure that contains a number of elements of the same type.
An array ...
Read now
Unlock full access