Indexers

Learn to work with classes as if they were arrays.

Introduction

Indexers are special constructs that allow us to access an object’s content through an index. It adds an array-like behavior to custom types. ...