Indexer in C# but without this
It is posible to craete indexer in C#, but something like this:

    public class MyClass
    {
       Dictionary<int, string> myCollection = new Dictionary<int, string>();
    
       public string Value[int i]
       {
          get { return myCollection[i]; }
          set { myCollection[i] = value; }
       }
    }

Thanks
Indexer in C# but without this
===

It is posible to craete indexer in C#, but something like this:

    public class MyClass
    {
       Dictionary<int, string> myCollection = new Dictionary<int, string>();
    
       public string Value[int i]
       {
          get { return myCollection[i]; }
          set { myCollection[i] = value; }
       }
    }

Thanks