[C#] How to Enumerate Directory in C#
The Directory.EnumerateDirectories method returns an enumerable collection of directory names in the specified directory. string root = @"C:\\Temp"; // Get a list of all subdirectories var dirs = from dir…
Từ căn bản tới nâng cao
The Directory.EnumerateDirectories method returns an enumerable collection of directory names in the specified directory. string root = @"C:\\Temp"; // Get a list of all subdirectories var dirs = from dir…