C# - How do I check if all files in folder have certain extension : <p>I need to check if all files in folder have a certain extension. I am trying to display a message/form if all the files in the folder have a .txt extension. Can anyone please provide code on how this can be done? Thanks.</p>
