- Step 1. What Is an ArrayArrays. Indexes. Create, write, and read. Iteration and search.
- Step 2. Iteration and SearchExercises on array iteration and element search.
- Step 3. Creating and Changing ArraysExercises on creating, changing, and filling arrays.
- Step 4. In-Place OperationsIn-place operations. Changing arrays in place without extra memory.
- Step 5. Advanced LevelAdvanced array exercises.
Step 1. Array Basics
In the first step you will learn what an array and an index are, and how data is stored and processed as sequences.
You will learn to create arrays, read and change their elements, and what errors can happen with incorrect index use.
You will also master iterating elements and searching data inside an array.
Covered topics:
- what an array is and why it is needed
- the concept of an index and accessing array elements
- reading elements by index
- writing values by index
- handling out-of-bounds errors (IndexOutOfRangeException)
- creating an array
- iterating elements with a loop
- searching values in an array