Get started with file input and output

Learn how to manage local files and directories using the System.IO classes, and how to store and retrieve C# objects using CSV files and the StreamReader and StreamWriter classes.

Learning objectives

  • Describe common file input and output operations, the difference between structured and unstructured data, and common text file formats.
  • Use the Path, Directory, and File classes to create, copy, move, delete, and enumerate local text files and directories.
  • Implement file input and output operations using the StreamReader and StreamWriter classes and CSV files.
  • Control file access using the FileStream class.
  • Read and write binary files using the BinaryReader and BinaryWriter classes.
  • Store and retrieve C# objects using file input and output operations.

devops certification training courses malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *