System.IO.Path Class in .NET - ExtremeExperts
System.IO.Path Class in .NET - ExtremeExperts
"In this code snippet I am going to focus on Path class in .NET. This is one of .NET framework class which is not known to many users in .NET, so I am going to explain some of the useful methods provided by this class. Path class performs operations on String instances that contain file or directory path information. Parsing or manipulating a file path previous to .NET release involves quite a lot of work. But in .NET, the path class will greatly reduce the development time by providing various methods to operate on path string.
The members of the Path class enable you to quickly perform some common operations such as determining whether a file name extension is part of a path, combining two strings into one path string, finding filename or extension from a path. You are going to see some of the common operations you will be doing using Path class in this article..."
Part of the fun of moving from VB6 to VB.Net is getting used to the BCL. I use the the FileSystemObject all the time in VB6. While I "could" use that in VB.Net, it seems pretty darn silly too.
This article talks about one of the BCL namespaces that will help me put FSO away...
No comments:
Post a Comment