>>79
C#使ったこと無いが

string ext = System.IO.Path.GetExtension(f);
if(ext == ".bmp" || ext == ".jpg" || ext == ".png")
this.fileNames.Add(f);

でいけると思う