C# - Indexer- Phenomenal evidence of powerful usage ?
To have a indexer  we are using the following format  :
<br/>

<pre>
class ClassName
{
    DataType[] ArrayName = new DataType[Length]; 

    public DataType this[int i]
    {
        get { return ArrayName[i]; }
    }
}

</pre>
<br/> { for sake of simplicity i used the format ,even we can go for custom indexer also }
<br/>
(<b>according to my understanding</b>)<i> just we are keeping a propery array that is indexed </i>.

<br/>


My question is :

<hr/>

<ol>
  <li> Is it <b> templated properties </b> ? </li>
  <li> when and where could we achieve high degree code optimization using this indexer? </li>
</ol>


C# - Indexer- Phenomenal evidence of powerful usage ?
===

To have a indexer  we are using the following format  :
<br/>

<pre>
class ClassName
{
    DataType[] ArrayName = new DataType[Length]; 

    public DataType this[int i]
    {
        get { return ArrayName[i]; }
    }
}

</pre>
<br/> { for sake of simplicity i used the format ,even we can go for custom indexer also }
<br/>
(<b>according to my understanding</b>)<i> just we are keeping a propery array that is indexed </i>.

<br/>


My question is :

<hr/>

<ol>
  <li> Is it <b> templated properties </b> ? </li>
  <li> when and where could we achieve high degree code optimization using this indexer? </li>
</ol>

