//[Benchmark] public void phatcher() { // https://github.com/phatcher/CsvReader using var reader = OpenTextReader(); using var csv = new LumenWorks.Framework.IO.Csv.CsvReader(reader, true) { //SupportsMultiline = true, //DefaultParseErrorAction = LumenWorks.Framework.IO.Csv.ParseErrorAction.RaiseEvent }; foreach (var rec in csv.Take(Max)) { EnsureFieldCount(rec.Length); } }