Method MatchesExtension
MatchesExtension(String, String)
Returns true
if the given filename ends with the given extension. One
should provide a pure extension, without '.'.
Declaration
public static bool MatchesExtension(string filename, string ext)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | |
System.String | ext |
Returns
Type | Description |
---|---|
System.Boolean |