Hi, Please find below code.you can use it in ur own way. static List<string> _list; list = new List<string>(); foreach (string file in Directory.GetFiles(baseFolderPath, "*.xml")) { _list.Add(file); }
List<string> _list = Directory.GetFiles(baseFolderPath, "*.xml").ToList();
list = new List<string>();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)