Get Dirs - CSharp System.IO

CSharp examples for System.IO:DirectoryInfo

Description

Get Dirs

Demo Code


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);
        }
}

Related Tutorials