For example string destination_dir = @"C:\Users\krangaraj\Pictures\AAA";
string[] extensions = { ".jpg", ".gif", ".jpeg", ".png", ".tiff" };
string[] dizin = Directory.GetFiles(destination_dir, "*.*")
.Where(f => extensions.Contains(new FileInfo(f).Extension.ToLower())).ToArray();
foreach (string file_name in dizin)
{
///does eveyrthing
}