Two types of properties in .Net: Get & Set Two kinds of
properties are scalar properties and indexed properties.
allows classes to be used in more intuitive manner. C# introduces a new concept
known as Indexers which are used for treating an object as an array. The
indexers are usually known as smart arrays in C#. They are not essential part
of object-oriented programming.
indexer, also called an indexed property, is a class property that allows you
to access a member variable of a class using the features of an array.