static string WithExtension (string path, string ext)

Parameters

NameTypeDescription
path string A file path with or without an extension.
ext string A file extension with or without a leading period.

Returns

TypeDescription
string
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.