In this tutorial I'll show you how to read a CSV file into your C# .NET app using the excellent CsvHelper library. I'll go through 3 methods to read your CSV file: dynamic objects, Property Attributes and ClassMap.
The example here is a .NET Core app, but CsvHelper is a .NET Standard library, so it works seamlessly across .NET Core, .NET Framework and Xamarin.
☕️ Don’t forget, developers run on coffee! 😀
https://www.buymeacoffee.com/Robertsd...
📬 Stay in touch! Join our mailing list
https://robertsdevtalk.com
🐦 Follow us on Twitter:
/ robertsdevtalk
If you need to create a CSV file (export), we have a video here for you:
• Create CSV file in C# the EASY way | ...
CsvHelper homepage:
https://joshclose.github.io/CsvHelper/
SpaceX open source REST API (unofficial), lots of fun sample data if you like rockets:
https://github.com/r-spacex
Watch video The BEST Way to Read a CSV File in C# | CsvHelper Tutorial online without registration, duration hours minute second in high quality. This video was added by user Roberts Dev Talk 26 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 60,147 once and liked it 1 thousand people.