I'm getting all the photos from a directory and its subsequent ones, but I do not like the "Backup" folder, how could I do that?
string[] Arquivos = Directory.GetFiles(PathEx, "*.*", SearchOption.AllDirectories);
I was thinking of using IndexOf()
, but I think this would be a bad optimization as it would not be easier to get them out than just check if it's in the right or wrong folder?