public static void Main()
var x = new MyClassWithIndexer()
public class MyClassWithIndexer
public int this[string index]
Console.WriteLine($"Index: {index}, value: {value}");
public string this[int index]
Console.WriteLine($"Index: {index}, value: {value}");