C# Data Access: Text Files

Veröffentlicht am: 02 November 2016
auf dem Kanal: IAmTimCorey
268,221
3.4k

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


Auf dieser Seite können Sie das Online-Video C# Data Access: Text Files mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer IAmTimCorey 02 November 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 268,221 Mal angesehen und es wurde von 3.4 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!