title: Cause for CS0542 - "member names cannot be the same as their enclosing type"
body: <p>I Have this error but i can't identify the error (CS0542) for some reason:</p>
  
  <blockquote>
    <p>member names cannot be the same as their enclosing type </p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>class SuperTeam
  {
      string SuperTeamName;
  
      public SuperTeam()
      {
          SuperTeamName = "";
      }
  
      public void SuperTeam (string nSuperTeamName)
      {
          SuperTeamName = nSuperTeamName;
      }
  }
  </code></pre>