O'Reilly logo

C# Web Development with ASP.NET: Visual QuickStart Guide by Jose Mojica

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

Chapter 9. Arrays and Collections

Arrays are types that enable you to store a series of elements. Every array can be thought of as being two parts in one. The first part is the array object, which is an instance of the class System.Array. This object stores information about the array itself—things like the number of elements in the array, the number of dimensions, and whether the array has a non-zero lower bound or not. The second part is the storage for the elements in the array.

There are two main types of arrays: arrays of valuetypes and arrays of reference types. Valuetypes include the language’s native data types, such as integers, longs, doubles, etc. Valuetypes also include structures. Reference types include classes that produce objects, ...

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