Hi i have a directory containg about 300 files with different extensions like : .txt, .php, .html,etc.. and i have tried this code but it displays a files list instead of only thier extentions
string[] filePaths = Directory.GetFiles(@"c:\tmp]");
so what i need to do is to display all the files extensions in that folder
***Thank you***