Community

The unexpected behaviour of DirectoryInfo.GetFiles() with three letter extensions

(Andras) There is a documented, but certainly counterintuitive issue with the DirectoryInfo.GetFiles() method in .Net. This method returns a list of files that match a particular pattern. For example in the following example it will return us all the files on drive Z: that have the exact extension .

Read More - Register for Free Membership