title: Error: member names cannot be the same at their enclosing type
body: <p>I was using ASP.NET4.5 and visual studio 2013 to create a sample application Wingtip Toys. But when trying to display data item and details It showing error in the last line of code bellow which is-
   protected global::System.Web.UI.WebControls.ListView ProductList;</p>
  
  <blockquote>
    <p>ProductList: member names cannot be the same at their enclosing type.</p>
  </blockquote>
  
  <pre><code>namespace WingtipToys
  {
      public partial class ProductList 
      {        
          /// &lt;summary&gt;
          /// ProductList control.
          /// &lt;/summary&gt;
          /// &lt;remarks&gt;
          /// Auto-generated field.
          /// To modify move field declaration from designer file to code-behind file.
          /// &lt;/remarks&gt;
          protected global::System.Web.UI.WebControls.ListView ProductList;
      }
  }
  </code></pre>