list files in folder C# code example
Example: list all files in directory and subdirectories c#
string[] entries = Directory.GetFileSystemEntries(path, "*", SearchOption.AllDirectories);
string[] entries = Directory.GetFileSystemEntries(path, "*", SearchOption.AllDirectories);