Parse csv to decimal on different cultures using CsvHelper in c#
问题 Problem with parsing decimals by CsvHelper in c#. I created a class that get csv file from byte[] istead of file, and it works correctly. public static List<Topic> GetAll(byte[] attachmentBytes) { using (Stream stream = new MemoryStream(attachmentBytes)) { using (var reader = new StreamReader(stream, Encoding.GetEncoding(1252), true)) { using (var csv = new CsvReader(reader)) { csv.Configuration.Delimiter = ";"; csv.Configuration.HasHeaderRecord = true; csv.Configuration.CultureInfo =