Cannot read raw record from string

Dec 24, 2012 at 10:23 AM

internal class MyDataRow : List<DataRowItem>, IDataRow
{ }

public class Reader
{
	static CsvContext csv = new CsvContext();
		
	public static IEnumerable<string> ReadRecord(string data)
	{
		byte[] bdata = Encoding.UTF8.GetBytes(data);
		Stream stream = new MemoryStream(bdata);
		IEnumerable<MyDataRow> row = csv.Read<MyDataRow>(new StreamReader(stream));
		return (row as List<DataRowItem>).Select(field => field.Value);
	}
}

CsvReader.Reader.ReadRecord("IL,05,Tel Aviv,32.066700,34.766701");

No matter what data, row is always empty after csv.Read(). What do I do wrong?