Home C# Properties, Arrays, and Indexers

C# - Properties, Arrays, and Indexers



So far, I've described the basic types supported by C# and how to declare and use them in your classes and applications. This tutorial will break the pattern of presenting one major feature of the language per tutorial. In this tutorial, you'll learn about properties, arrays, and indexers because these language features share a common bond. They enable you, the C# class developer, to extend the basic class/field/method structure of a class to expose a more intuitive and natural interface to your class's members.

[Next]