Simple CSV Reader

Tech

  • DotNet
  • C#
  • CsvHelper (Library)

Steps

  1. In your project, add the library by running the following command "dotnet add package CsvHelper". Csv Helper

  2. Create a class and add all the heading's as properties that will be mapped to when reading the csv file

  3. Lastly read the csv file and print the file (Here you can modify the code as you deem fit. You can make it a separate utility class or just make a function)