In Brief
This chapter provided an in-depth discussion of working with files. Here are the primary things that were discussed:
Streams are a key concept in .NET programming. Streams are used for read and write access to files, network streams, memory buffers, and more.
The classes in the System.IO namespace, including File, Path, and Directory, contain shared methods that allow you to access and manipulate the file system.
Structured exception handling replaces the On Error model for catching errors at runtime. Used correctly, it can be much more powerful than Visual Basic 6.0's On Error.
Multiple Catch blocks in a Try…Catch allow for granular handling of exceptions. The first matching Catch block handles the exception and the rest are skipped. It ...
Get Microsoft® Visual Basic® .NET 2003 Kick Start now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.