if (Directory.Exists(path)) { string[] name = Directory.GetFiles(path);
foreach (string item in name) { file += item + "---"; } }