class A { public int Item() { throw new NotImplementedException(); } public int this[int x] // error CS0102: The type 'A' already contains a definition for 'Item' { get { throw new NotImplementedException(); } } }
Item
List
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)