1 // cs0021.cs: You can't use and indexer with a type that doesn't support it.
6 public static void Main () {
8 Console.WriteLine ("Test for ERROR CS0021: You can't use the indexer operator with a type that doesn't support it");
9 Console.WriteLine ("Get i[2]: {0}", i[2]);