diff options
Diffstat (limited to 'ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md')
-rw-r--r-- | ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md new file mode 100644 index 0000000..6fbc307 --- /dev/null +++ b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md @@ -0,0 +1,19 @@ +# Migrating from version 20 to 21 + +## CsvConfiguration + +Property `char? NewLine` changed to `string NewLine`. + +```cs +// v20 +var config = new CsvConfiguration(CultureInfo.InvariantCulture) +{ + NewLine = '\r', +}; + +// v21 +var config = new CsvConfiguration(CultureInfo.InvariantCulture) +{ + NewLine = "\r", +}; +``` |