title: C# is a 'field' but used like a 'type' list
body: <p>Hello this is my first time posting, so correct me if I'm doing something wrong.</p>
  
  <p>I am a beginner, I am trying to make a sort of text adventure game only using a winform and buttons as the control. The problem is when I try to make an inventory list. It is giving me an syntax error saying </p>
  
  <blockquote>
    <p>"Inventory is a 'field' but is used like a 'type'</p>
  </blockquote>
  
  <p>This is the code in question:</p>
  
  <pre><code>public partial class MainGameWindow : Form
  { 
      //sets the room ID to the first room as default
      string roomID = "FirstRoom";
      //makes a list for the inventory
      List&lt;string&gt; Inventory = new List&lt;string&gt;();
      Inventory.Add("A piece of string...Useless!");
  }
  </code></pre>