Files and I/O in C# .NET
Learn about working with files in C# .NET in this online course. Also teaches exceptions and formats like txt, csv, xml and binary files.
This tutorial is all about exceptions in C# .NET, try-catch blocks, the finally construct and the using notation. It prepares you for file operations.Written by David Capka
This tutorial introduces you to working with files in the Windows OS as well as writing privileges, UAC, and the use of the AppData folder in our apps.Written by David Capka
In this tutorial, we'll work with text files (.txt extension) in C# .NET via the StreamWriter and StreamReader classes for writing, reading, and appending.Written by David Capka
In this tutorial, we'll create a fully-featured form application with a user database that stores instances to a text file in the CSV format.Written by David Capka
In this tutorial, we'll introduce the XML format and approaches to manipulating XML files. We'll use SAX (XmlWriter) to create and save a simple XML.Written by David Capka
In this tutorial, we'll load an XML file with multiple users using the SAX approach (the XmlReader class). We'll instantiate items from the file to a list.Written by David Capka
In this tutorial, we'll work with XML files using the DOM approach (XmlDocument) in C# .NET, we'll read and write to them like a tree structure.Written by David Capka
We'll learn to serialize and deserialize an object. An example is demonstrated on an application storing user data to files using object serialization.Written by David Capka
This tutorial introduces you to binary files and the BinaryWriter and BinaryReader classes. We'll learn to read and write instances in binary in C# .NET.Written by David Capka
In this tutorial, we'll introduce more exception constructs, parameterized catch blocks, create custom exceptions, and list C# .NET exceptions.Written by David Capka
This tutorial describes the File, FileInfo, Directory, DirectoryInfo, and Path classes provided for general file and folder operations in C# .NET.Written by David Capka
Section 1 Items
A collection of C# .NET apps using files with source codes from local programmers. Sources are not verified as in the courses and their quality may vary.