Files and Directories


Next >


Reading and writing files is a fundamental skill for any C# developer. With this tutorial we'll tackle some common scenarios in terms of reading and writing files, and working with directories.


In this tutorial you will learn

  • How to read a text file
  • How to write a text file
  • How to list files in a directory
  • Working with streams
  • Understanding IDisposable and what it means for files


In this previous tutorial "Collections", you learned

  • What an Array is
  • What a List is
  • What a Dictionary is
  • What a Queue is
  • What a Stack is
  • What a Linked List is


Previous Tutorials in this Course

Page 1 of 20
Next >