I would like to know (using c#) how I can delete files in a certain directory whose name contains *mhz.prj.
In fact there are several files in this folder and I want to delete only Amhz.prj Bmhz.prj for example. My problem is that the end of the filename is important.
This will loop through
C:\MyDirand delete any files with the extensionprj.