Returns the file extensions listed in the PATHEXT environment variable, lowercased in a single pass before being returned.
protected virtual string[] GetPathFileExtensions()
Subclasses receive a freshly allocated array in which every character has been converted to its lowercase form. The returned array is safe to mutate without affecting the underlying PATHEXT environment variable.