get list of files and folders in a directory 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);