O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Section 8.1 Introduction

• Arrays are data structures consisting of related data items of the same type. Arrays are fixed-length entities—they remain the same length once they’re created.

Section 8.2 Arrays

• Arrays are reference types. What we typically think of as an array is actually a reference to an array object. The elements of an array can be either value types or reference types (including other arrays).

• An app refers to an array element with an array-access expression that includes the name of the array, followed by the index of the particular element in square brackets ([]).

• The first element in every array has index zero and is sometimes called the zeroth element.

• An array’s Length property returns the number of elements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required