public static List <T> DeserializeFromText(string txt) { if (txt == null) { return(null); } var cs = new CsvSerializer <T>() { UseTextQualifier = true, UseLineNumbers = false, IgnoreReferenceTypesExceptString = false, }; return((List <T>)cs.DeserializeStream(txt)); }