public string GetDirectories() { string result = string.Empty; string seperator = ";"; Array.ForEach(Directory.GetDirectories("D:\\").ToArray(), item => { result = string.Concat(result, item, seperator); }); return result; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)