To create a PDF file from CSV file in c#, you can use Spire.XLS available on NuGet ( It will convert csv to pdf. First give reference Spire.xls.dll, and then use the following code to achieve csv to pdf conversion.

Workbook workbook = new Workbook();
//Load CSV file
workbook.LoadFromFile(@"F:\Test\csv2xls.csv", ",", 1, 1);
//Convert the first sheet to PDF
Worksheet sheet = workbook.Worksheets[0];