Read CSV in C# with No Headers, Semicolon Delimiters | CsvHelper Tutorial (part 3)

Опубликовано: 09 Июнь 2021
на канале: Roberts Dev Talk
8,718
139

In this tutorial I answer your questions about using CsvHelper to read and write CSV files with no header row and with semicolon delimiters in C#.

We had some great feedback on our previous videos about CsvHelper, so decided to make a follow up answering your questions. CsvHelper gives some nice tools, such as CsvConfiguration and attributes, out of the box that allow us to handle CSV files with different delimiter types and no header rows efficiently and easily.

See the following videos for more information:

Read a CSV file with CsvHelper:    • The BEST Way to Read a CSV File in C#...  
Create a CSV file with CsvHelper:    • Create CSV file in C# the EASY way | ...  

0:00 Intro
0:24 Handling different delimiters
3:05 Handling no header row with Attributes
6:40 Handling no header row with ClassMap
8:44 Creating a CSV with semicolons and no headers
10:32 Outro and thank you!

Follow us on Twitter:
  / robertsdevtalk  

Our gear - click through to support our channel! :)

Camera (Canon M50)
UK: https://amzn.to/3sUbzuL
US: https://amzn.to/3uBsG5c

Camera mic (RODE VideoMic Pro)
UK: https://amzn.to/3ml8xgC
US: https://amzn.to/2RkGxyi

Camera tripod (Manfrotto Compact tripod):
UK: https://amzn.to/3fJGyWU
US: https://amzn.to/3mF4oV2

Voiceover Mic (Blue Yeti)
UK: https://amzn.to/2PV7UOQ
US: https://amzn.to/3uMiEym

Chris's dev mouse for PC (Logitech MX Master 3)
UK: https://amzn.to/39K7BNV
US: https://amzn.to/3uKYvso

Chris's dev keyboard for PC (Logitech MX Keys)
UK: https://amzn.to/3rSbHcX
US: https://amzn.to/3a6Unef

Rob's dev keyboard for Mac (Apple Magic Keyboard)
UK: https://amzn.to/3dEQpKG
US: https://amzn.to/3sb6JZc

Rob's dev mouse for Mac (Apple Magic Mouse)
UK: https://amzn.to/3sRCQhr
US: https://amzn.to/3mFi6qS