title: Retrieve the first item from a list
body: <p>I'm having trouble getting the first item from a list. The data is added to the list from a text file however, the system is returning <code>System.Linq.Enumerable+&lt;TakeIterator&gt;d__25'1[System.String]</code> instead of the first item in the list.</p>
  
  <p>The following is my implementation</p>
  
  <pre><code>string[] inputData = rawInputData.Split(',');
  List&lt;string&gt; splitData = new List&lt;string&gt;(inputData.Length);
  splitData.AddRange(inputData);
  var numberOfCaves = splitData.Take(1);
  Console.Write(numberOfCaves);
  </code></pre>
  
  <p>I am unsure as why this is happening and any suggestions would be appreciated, Thanks!</p>