In this tutorial we will se how to read and write data to csv file. It is pretty much easy if you have some external library for that. We are definitely going to use a library and that will be CsvHelper.
You can also check the video version of this tutorial.
First and foremost, create a c# console application in .net core. After that we need to install a nuget package, which is**CsvHelper**









