O'Reilly logo

C# Primer Plus by Klaus Michelsen

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 10. ARRAYS PART I: ARRAY ESSENTIALS

You will learn about the following in this chapter:

  • Why the idea of putting many values of the same type into the same data structure (the array) is so compelling

  • How to declare, define, initialize, and apply one-dimensional arrays

  • How arrays are effectively accessed with loop statements

  • The iteration statement foreach and how this statement, compared to the for-loop, can simplify access to an array

  • The implications of the fact that an array is a reference type.

  • How arrays can be provided as arguments to methods and as return values from methods

  • The implications of letting the values of an array be references to objects

  • The ability to let arrays be instance variables of classes and the associated advantages ...

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