I want to get files with specific extensions and i tried this code in the search pattern but it didn't work So I wanted to know if there is a way to do it and to only get files with (xls) and (xlsx) files too as I'm a newbie and I have been searching nut i didn't find anything that helps
I tried this:
String[] FindFiles = Directory.GetFiles(RootPath,"*.txt;*.rtd*");