How do I retrieve all filenames matching a pattern in a directory? I tried this but it returns the full path instead of the filename.
Directory.GetFiles (path, "*.txt")
Do I have to manually crop the directory path off of the result? It's easy but maybe there is an even simpler solution :)