convert string csv to List of objects
<p>I have the following sting</p>
<pre><code>const string csv = &quot;Foo1,Foo2,Foo3,Foo4,Foo5,Foo6,Ping Pong\n&quot; +
                   &quot;2016-02-29,1437.530029,1445.839966,1433.77002,1436.930054,34016300,1436.930054\n&quot; +
                   &quot;2016-02-25,1431.439941,1431.439941,1421.280029,1426.97998,78076500,1426.97998\n&quot; +
                   &quot;2016-02-24,1430.459961,1432.430054,1417.449951,1419.790039,29049900,1419.790039\n&quot;;
</code></pre>
<p>How I can convert it to <code>List&lt;Model&gt;</code>
where</p>
<pre><code>public class Model
{
    public string Foo1 { get; set; }
    public string Foo2 { get; set; }
    public string Foo3 { get; set; }
    public string Foo4 { get; set; }
    public string Foo5 { get; set; }
    public string Foo6 { get; set; }
    public string Ping_Pong { get; set; }
}
</code></pre>
<p><strong>Note of the <code>Ping Pong</code> header in my orig csv</strong></p>
<p>I tried to use <a href="http://joshclose.github.io/CsvHelper/" rel="nofollow noreferrer">CsvHelper</a> but with no success as it is taking a stream rather then string and I failed trying to convert a parse</p>
<p><strong>EDIT</strong> It does not matter for me if to use CsvHelper or not, in the end I want to convert the csv to <code>List&lt;Model&gt;</code></p>
<p>How can I do this?</p>