1 2 3 4 5 6 7 8 9 10 11 12
// CS0021: Cannot apply indexing with [] to an expression of type `object' // Line: 9 class C { public static void Main () { var d = new object { ["a"] = 1 }; } }