Possible Duplicate:
Can you call Directory.GetFiles() with multiple filters?
Does it possible to get for ex. .c and .hfiles from directory. Usage of Directory.GetFiles("C:\", ".c;.h"); does not work. It’s too bad to invoke Directory.GetFiles(...); twice.. 🙁
Thanks.
its not possible to specify multiple filters in single GetFiles() method call. You can find alternatives here