title: Already contains a definition for
body: <p>I have a class called <code>Assign</code> and </p>
  
  <pre><code>    private int SeatNumber;
  
      public Assign(int SeatNum)
      {
          SeatNumber = SeatNum;
      }
  
      public int SeatNumber
      {
          get { return SeatNumber; }
          set { SeatNumber = value; }
  
      }
  </code></pre>
  
  <p>I have no idea why I am getting the following error</p>
  
  <blockquote>
    <p>EThe type 'WindowsFormsApplication1.Assign' already contains a definition for 'SeatNumber'</p>
  </blockquote>
  
  <p>What is wrong?</p>