O'Reilly logo

Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition by Cristian Darie, Wyatt Barnett, Timmothy Posey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14Working with Files and Email

The .NET Framework exposes a set of classes for working with text files, drives, and directories, through the System.IO namespace. This namespace exposes functionality that allows you to read from, write to, and update content within directories and text files. On occasion, you will want to read from and write to a text file. Text files almost always use a format that’s based on the ASCII standard, which is perhaps the most widely accepted cross-platform file format, having been around since the 1960s. This makes it a very useful way of exchanging information between programs—even if they’re running on different platforms and operating systems.

As we’ll see in the course of this chapter, we can use the set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required