Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Working with Files and Streams in C#

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
C# has so many different ways to work with the file system and read and write data. It can be difficult to know what the best approach is and where to start. This course will teach you how to manipulates files, directories, paths, and streams in C#.

C# gives you many different ways to interact with the file system and read and write different types of data. It can be difficult however to know what the best approach is and where to find the classes that your file IO code needs. In this course, Working with Files and Streams in C# 9, you’ll gain the ability to manipulate files, directories, paths, and streams. First, you’ll explore how to manipulate files, directories, and paths. Next, you’ll discover how to monitor the file system and respond to changes such as a new file being written. Finally, you’ll learn how to both read and write text, binary, and CSV data by either reading the entire file into memory or by processing data in smaller chunks using streams. When you’re finished with this course, you’ll have the skills and knowledge of files and streams needed to read, process, and write data in C#.

Syllabus

  • Course Overview 1min
  • Managing Files and Directories 39mins
  • Monitoring the File System for Changes 40mins
  • Reading and Writing Entire Files Into Memory 22mins
  • Reading and Writing Data Incrementally Using Streams 39mins
  • Reading and Writing CSV Data 34mins
  • Creating Automated Tests for File Access Code 27mins

Taught by

Jason Roberts

Reviews

4.8 rating at Pluralsight based on 45 ratings

Start your review of Working with Files and Streams in C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.