Parameters
- extension
- The file extension. It must begin with a dot followed by one or many characters.
Return Value
true if this file name has the extension, extension.
Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed