public static EndsWithIgnoreCase ( this str, string valueToCheck ) : bool | ||
str | this | The string. |
valueToCheck | string | The value to check. |
리턴 | bool |
public static bool EndsWithIgnoreCase(this string str, string valueToCheck)
{
var endsWith = str.EndsWith(valueToCheck, StringComparison.OrdinalIgnoreCase);
return endsWith;
}