FolkerKinzel.CsvTools 2.0.0-beta.6

Prefix Reserved
This is a prerelease version of FolkerKinzel.CsvTools.
dotnet add package FolkerKinzel.CsvTools --version 2.0.0-beta.6                
NuGet\Install-Package FolkerKinzel.CsvTools -Version 2.0.0-beta.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FolkerKinzel.CsvTools" Version="2.0.0-beta.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FolkerKinzel.CsvTools --version 2.0.0-beta.6                
#r "nuget: FolkerKinzel.CsvTools, 2.0.0-beta.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FolkerKinzel.CsvTools as a Cake Addin
#addin nuget:?package=FolkerKinzel.CsvTools&version=2.0.0-beta.6&prerelease

// Install FolkerKinzel.CsvTools as a Cake Tool
#tool nuget:?package=FolkerKinzel.CsvTools&version=2.0.0-beta.6&prerelease                

GitHub

FolkerKinzel.CsvTools

.NET library for reading and writing CSV files (RFC 4180)

Starting with version 2.0.0, mapping functionality and type converters are in the separate package FolkerKinzel.CsvTools.Mappings. This ensures that only what is really needed needs to be installed.

You can use this small library independently

  • for analyzing CSV files and CSV strings (delimiter, header row, column names, text encoding, and required options for reading non-standard CSV)
  • serializing collections of any data and DataTables as CSV with simple formatting options. (Use FolkerKinzel.CsvTools.Mappings for advanced object serializing and deserializing.)
  • parsing the string content of CSV files and CSV strings, e.g., with Linq. (Use FolkerKinzel.CsvTools.Mappings for deserializing data tables and data types other than strings.)

FolkerKinzel.CsvTools allows you to do things easily and with just a few lines of code. In addition, the library also provides the means to write high-performance code:

  • It allows you to parse ultra large CSV files because only one row of the file has to be in memory at a time.
  • It makes the fields of the CSV file available as ReadOnlyMemory<Char> instances. This avoids the allocation of numerous temporary strings.
  • The CsvOpts.DisableCaching option allows reusing the same CsvRecord instance for each parsed row of the CSV file. This can avoid further allocations.

Project Reference and Release Notes

See code examples on GitHub

Version History

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FolkerKinzel.CsvTools:

Package Downloads
FolkerKinzel.Contacts.IO

Small and easy to use framework for .NET to manage contact data of organizations and natural persons, including a data model and classes to persist it as vCard (*.vcf) or CSV.

FolkerKinzel.CsvTools.Mappings

Mappings and type conversions for FolkerKinzel.CsvTools

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-beta.6 36 2/14/2025
2.0.0-beta.5 40 2/11/2025
2.0.0-beta.4 41 2/5/2025
2.0.0-beta.3 45 2/1/2025
2.0.0-beta.2 10 1/30/2025
2.0.0-beta.1 39 1/28/2025
2.0.0-alpha.3 32 1/10/2025
2.0.0-alpha.2 24 1/9/2025
2.0.0-alpha.1 39 1/7/2025
1.6.4 2,795 1/21/2022
1.6.3 483 1/20/2022
1.6.2 622 1/16/2022
1.6.1 440 12/26/2021
1.6.0 313 12/26/2021
1.5.0 725 3/31/2021
1.5.0-rc 334 3/19/2021
1.4.3 637 12/31/2020
1.4.0 561 12/27/2020
1.3.1 702 5/26/2020
1.3.0 737 5/5/2020