title: How can I split a string and put it into a C# List in WebMatrix?
body: <p>I have seen many examples suggesting how to do this, however none of them work for me. I am not sure if it is because I am in WebMatrix or what, but all I want to do is split a string on the "\n" line break (no, not "\n\r", as I have put the \n's there myself). Here are the things I've tried/problems I am having:</p>
  
  <p>Here:  <a href="http://www.dotnetperls.com/split" rel="nofollow">http://www.dotnetperls.com/split</a>  I can't use .split because "\n" is more than one 'char' and a little bit further below in that link, it suggests that I could use Regex.Split, however, that method doesn't seem to exist in my environment.</p>
  
  <p>All other examples use "split" which will only see a single character.</p>
  
  <p>What am I overlooking given these variables?:</p>
  
  <pre><code>var agendaLines = Request.Unvalidated("agendas");
  List&lt;String&gt; saveLineList = new List&lt;String&gt;();
  </code></pre>