public static IsFileOfType ( string filepath, string typeExtenstion ) : bool | ||
filepath | string | |
typeExtenstion | string | |
return | bool |
public static bool IsFileOfType(string filepath, string typeExtenstion)
{
return filepath.ToLower().EndsWith(typeExtenstion.ToLower());
}