Archive for June, 2009

Finding files: Recursion vs Stack<>…FIGHT!

I was just poking around the Internet and came across a blog post highlighting a solution to a common problem: find all files matching a criteria (e.g. *.dll) from a folder and all its subfolders (e.g. c:\windows and all subdirectories). In this post, I compare the speed of two methods using code in C#.