TnvvCSVFileReader and TnvvCSVStringReader are light weighted and fast classes that resemble unidirectional data set.
Performance related notes are in 'History' section below. Differences are explained in the section 'Notable difference between Delphi and C# CSV Reader classes' below. Version 2.0 update: Version 2.0 significantly improves performance and adds encoding control to TnvvCSVFileReader, which resulted in slight modification of public interfaces of base TnvvCSVReader (minor change) and derived TnvvCSVFileReader (more significant change) classes comparing to version 1.0. Below, I will outline the CSV Reader features and will also provide the information related to Delphi code use. It is recommended to read that article first since I am not going to repeat everything here even though there are some minor differences like variable types, etc., but the relation between Delphi and C# specifics is obvious. All said in that article is also true in this case. Download source code v2.0 for Delphi 2009 and later versions - 17.7 KBĬlasses I present here are functionally identical to classes described in the article C# CSV File and String Reader Classes and have the same set of public methods and properties that are explained there in detail.