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