How can I find all files in a directory structure?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone please tell me the method in C# I use to search a directory structure to find all files with the same name. I was hoping some sort of array would be returned or something

Thanks in advance
Cyd
 
Hi, Cyd

take a look at Directory.GetFiles method.

HTH
Alex

Cyd said:
Can someone please tell me the method in C# I use to search a directory
structure to find all files with the same name. I was hoping some sort of
array would be returned or something.
 
Back
Top