You may try the following code
string[] fileNames = {"abcdef20120216.csv","ijklmn20120215.csv","pqrst20120216.csv"};
DateTime today = DateTime.Now;
string searchDate =
string.Format("{0:0000}{1:00}{2:00}.csv",today.Year,today.Month,today.Day);
ArrayList fileNamesArray = new ArrayList();
foreach(string fileName in fileNames){
if (fileName.EndsWith(searchDate))
fileNamesArray.Add(fileName);
}
If your problem is solved then you may accept and vote the solution, otherwise please post your queries
PES