Thursday, July 24, 2008

Chapter 2, Lesson 1

Hi there

Chapter 2 is all about I/O, one of the most popular topics amung developers, cause we deal with I/O operations all the time.

A developer who says that he never has to access filesystem, needs to get his facts strait ;-)

The first lesson describes the basics about I/O. FileSystemInfo object, FileInfo, DirectoryInfo and DriveInfo all came to pass. Pretty easy.

Then the Path class was discussed. This is a very handy thing. Every question you may have related to a file system path is in this class. Really worth looking into.

Finally the FileSystemWatcher class was illustrated. This nifty thing makes it possible to monitor a filesystem for changes (like new files/directories, deletes, renames and changes). But watch out, too many changes may cause the watcher to throw an excetion !

Next lesson I will be reading and writing to files. Like I havn't done that before, LOL ;-)

See ya

No comments: