title: Split comma-separated values
body: <p>I am using Visual Studio 2005 and C# 2.0, and I am trying to split a comma-separated string using the <code>string.Split</code> function and a lambda expression as follows:</p>
  
  <pre><code>string s = "a,b, b, c";
  string[] values = s.Split(',').Select(sValue =&gt; sValue.Trim()).ToArray();
  </code></pre>
  
  <p>I get an error saying that the expression is not recognized -- how can I resolve this?</p>