
Advanced Programming Concepts • Chapter 6 239
File Operations
Since the early days of BASIC, we have been using the Open statement for file
I/O.Visual Basic 6.0 allowed us to move toward a more object-oriented approach
to file I/O by using the Scripting library.The .NET platform takes this a step
further by introducing the .NET System.IO namespace.
The System.IO namespace contains classes that provide developers with
methods to read data from and write data to both physical files and data streams,
as well as performing file system operations such as obtaining directory listings
and monitoring for changes in the file system. Additionally, the ability to r ...