title: I have scope issues with an enum
body: <p>Basically, i have one class with a code of a chess game,
  it has an enum class..</p>
  
  <pre><code>namespace WindowsFormsApplication1
  {
      enum STATE { PROMOTION, CASTLING, CHECK, CHECKMATE, DONOTHING };
  
  .....
  </code></pre>
  
  <p>i want to refer to it from my Form code: here is the code:</p>
  
  <pre><code>namespace WindowsFormsApplication1
  {
  
      public partial class ChessBoard: Form
      {
  public STATE Gamestate { set; get; }
  
  ......
  </code></pre>
  
  <p>i get this:</p>
  
  <blockquote>
    <p>Error 1   Inconsistent accessibility: property type 'WindowsFormsApplication1.STATE' is less accessible than property 'WindowsFormsApplication1.ChessBoard.Gamestate' D:\Documents and Settings\Dima\My Documents\Visual Studio 2008\Projects\ChessBoardGame\ChessBoardGame\ChessBoard.cs 15  22  ChessBoardGame</p>
  </blockquote>
  
  <p>Why do i get it and how can i prevent it ?</p>