title: Class with indexer and property named "Item"
body: <p>Is it possible to create a class in .NET 4 with:</p>
  
  <ol>
  <li>an indexer,</li>
  <li>a property named "Item"?</li>
  </ol>
  
  <p>For example, this C# class will not compile for me:</p>
  
  <pre><code>public class MyClass
  {
      public object Item { get; set; }
      public object this[string index] { get { return null; } set { } }
  }
  </code></pre>
  
  <p>The compiler gives an error <a href="https://msdn.microsoft.com/en-US/library/26f2y168%28v=VS.90%29.aspx" rel="noreferrer">CS0102</a>:</p>
  
  <blockquote>
    <p>The type 'MyClass' already contains a definition for 'Item' </p>
  </blockquote>
  
  <p>although I am only explicitly defining <code>Item</code> once.</p>