CsvReader csvReader = new CsvReader(); //Trial Mode //CsvReader csvReader = new CsvReader("place user name here", "place license key here"); //License Mode //Change to be tab delimited csvReader.Seperator = '\t'; string tabDelimitedString = "FirstName\tLastName\r\nJohn\tSmith"; List<Dictionary<string, string>> result = csvReader.CsvStringToDictionary(tabDelimitedString); Console.WriteLine(result[0]["FirstName"]);
Dim csvReader As New CsvReader() 'Trial Mode 'CsvReader csvReader = new CsvReader("place user name here", "place license key here"); //License Mode 'Change to be tab delimited csvReader.Seperator = ControlChars.Tab Dim tabDelimitedString As String = "FirstName" & vbTab & "LastName" & vbCrLf & "John" & vbTab & "Smith" Dim result As List(Of Dictionary(Of String, String)) = csvReader.CsvStringToDictionary(tabDelimitedString) Console.WriteLine(result(0)("FirstName"))
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2