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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed