title: Member is inaccessible due to its protection level error
body: <p>connected within this topic:
  <a href="https://stackoverflow.com/questions/15127819/how-to-connect-string-from-my-class-to-form">How to connect string from my class to form</a></p>
  
  <p>im trying to do solutions related to their answers (specifically answer of sir Jeremy) but this error keeps on appearing </p>
  
  <blockquote>
    <p>'KeyWord.KeyWord.keywords' is inaccessible due to its protection level</p>
  </blockquote>
  
  <p>code for KeyWords.cs:</p>
  
  <pre><code>namespace KeyWord
  {
      public class KeyWord
      {
          String[] keywords = { "abstract", "as", "etc." };
  
      }
  }
  </code></pre>
  
  <p>code for main.cs</p>
  
  <pre><code>// Check whether the token is a keyword. 
  var keyboardCls = new KeyWord.KeyWord();
  String[] keywords = keyboardCls.keywords;
  
  for (int i = 0; i &lt; keywords.Length; i++)
  {
      if (keywords[i] == token)
      {
          // Apply alternative color and font to highlight keyword.        
          rtb.SelectionColor = Color.Blue;
          rtb.SelectionFont = new Font("Courier New", 10, FontStyle.Bold);
          break;
      }
  }
  </code></pre>
  
  <p>what should i do?</p>