8. Arrays; Introduction to Exception Handling

Objectives

In this chapter you’ll:

Image Use arrays to store data in and retrieve data from lists and tables of values.

Image Declare arrays, initialize arrays and refer to individual elements of arrays.

Image Iterate through arrays with the foreach statement.

Image Use var to declare implicitly typed local variables and let ...

Get C# 6 for Programmers, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.