To sign up for announcements about new videos and exclusive discounts, fill out this form: https://signup.iamtimcorey.com/ (your email will be kept safe and you will not be spammed).
Data access in C# is not really hard, but there is a lot of conflicting information out there. This video will help you clear up how to read from and write to a text file. It doesn't cover every method, just one of the easiest.
0:00 - Intro
0:54 - Creating Demo Console App
1:39 - File path: string literal explained
2:51 - Reading from text file
5:00 - Writing to text file
7:07 - Populate DataModel fields form text file:
9:33 - • Line split
12:20 - • String interpolation
15:24 - Note on data validation when reading form text file
17:45 - Adding object to a list:
18:47 - • Anonymous instance explained
19:45 - List of DataModel to text file
23:22 - Summary and concluding remarks
Thanks Ralfs HBK for the chapter breakdown
On this page of the site you can watch the video online C# Data Access: Text Files with a duration of hours minute second in good quality, which was uploaded by the user IAmTimCorey 02 November 2016, share the link with friends and acquaintances, this video has already been watched 268,221 times on youtube and it was liked by 3.4 thousand viewers. Enjoy your viewing!