I am looking for specific file types from a directory listing and use HasSuffix to do the comparision looking for a few specific file types. I would like to make this comparison case insensitive.
Is there a way to add EqualFold or another case insensitive comparison to the HasSuffix function?