CSharp examples for System.IO:DirectoryInfo
Get Dirs
using System.IO;//from w w w. j av a2 s . c om using System; public class Main{ public static string[] GetDirs(string directoryPath) { return Directory.GetDirectories(directoryPath); } }