public void example() { PropertyIndexerClass pic = new PropertyIndexerClass(); pic[0] = "HELLO"; pic[1] = "WORLD"; Console.WriteLine("Value 1 = "+pic[0]+ ", and Value 2 = "+pic[1]); }
public void example() { PropertyIndexerClass pic = new PropertyIndexerClass(); pic[0] = "HELLO"; pic[1] = "WORLD"; Console.WriteLine("Value 1 = " + pic[0] + ", and Value 2 = " + pic[1]); }