BF - Autumn
Save up to 80 % on our C# e-learning courses. Only this week!
Get up to 80 % extra points for free! More info

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.

Exceptions in C# .NET

Lesson 1

Exceptions in C# .NET

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
Free Show description
Introduction to working with files

Lesson 2

Introduction to working with files

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
Free Show description
Working with text files in C# .NET

Lesson 3

Working with text files in C# .NET

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
FreeUnrated Show description
Storing objects in the CSV format in C#

Lesson 4

Storing objects in the CSV format in C#

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
Free Show description
Storing objects in CSV format in C# .NET, part 2

Lesson 5

Storing objects in CSV format in C# .NET, part 2

In this tutorial, we'll finish our object-oriented C# .NET form application which stores users into a CSV file.
Written by David Capka
Free Show description
Introduction to XML and writing via the SAX approach

Lesson 6

Introduction to XML and writing via the SAX approach

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
FreeUnrated Show description
Reading XML via the SAX approach in C# .NET

Lesson 7

Reading XML via the SAX approach in C# .NET

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
Free Show description
-33% Working with XML files using the DOM approach in C# .NET

Lesson 8

Working with XML files using the DOM approach in C# .NET

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
PROUnrated Show description
-33% LINQ to XML in C# .NET

Lesson 9

LINQ to XML in C# .NET

In this tutorial, we'll generate, read, and edit XML files using the latest XML approach from .NET, i.e. LINQ to XML and the XDocument class.
Written by David Capka
PRO Show description
Serialization and deserialization in C# .NET

Lesson 10

Serialization and deserialization in C# .NET

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
Free Show description
-33% Binary files in C#

Lesson 11

Binary files in C#

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
PRO Show description
-33% Exceptions in C# .NET for the second time

Lesson 12

Exceptions in C# .NET for the second time

In this tutorial, we'll introduce more exception constructs, parameterized catch blocks, create custom exceptions, and list C# .NET exceptions.
Written by David Capka
PROUnrated Show description
Working with files and folders in C#. NET

Lesson 13

Working with files and folders in C#. NET

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
Free Show description
C# .NET Community Projects - Files and I/O

C# .NET Community Projects - Files and I/O

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.
Show description


 

Activities (10)