title: Why am I getting System.Collections.Generic.List`1[System.String] instead of the list's contents?
body: <p>I decided to make a small little console based RPG to learn classes. I have a basic game going, but I have a problem. I'm trying to display the players inventory from the Player class in another class.</p>
  <p>I'm using a List to hold the players inventory.</p>
  <pre><code>public List&lt;string&gt; inventory = new List&lt;string&gt;();
  </code></pre>
  <p>This is in the Players class file.</p>
  <p>Then in the Shop Class, I'm doing;</p>
  <pre><code>Player player = new Player();
  </code></pre>
  <p>To make a new object to access the player class. Then to add something to the List in the shop, I'm doing;</p>
  <pre><code>player.inventory.Add(&quot;Axe&quot;);
  </code></pre>
  <p>But if I make the <code>player.inventory();</code> print out in the console, I get the wrong result:</p>
  <pre><code>System.Collections.Generic.List`1[System.String]
  </code></pre>
  <p>How can I fix this? I should get <code>Axe</code> instead.</p>