I have a csv file
Date,Open,High,Low,Close,Volume,Adj Close
2011-09-23,24.90,25.15,24.69,25.06,64768100,25.06
2011-09-22,25.30,25.65,24.60,25.06,96278300,25.06
...
and i have a class StockQuote with fields
Date,open,high...
How can i make a list of StockQuote object from csv file using linq?
I m trying something like this:`
 stirng[] Data = parser.ReadFields();  
     var query = from d in Data  
    where !String.IsNullorWhiteSpace(d)  
    let data=d.Split(',')  
    select new StockQuote()  
    {  
    Date=data[0],  Open=double.Parse(data [ 1 ] ),
    ...
`
 
     
     
     
     
    