StringExtensions.

EndsWithIgnoreCase(string, string) Method

Summary

Case-insensitive String.EndsWith

Syntax

public static bool EndsWithIgnoreCase(this string source, string value)

Parameters

Name Type Description
source string the source string
value string the string to compare

Return Value

Type Description
bool true if string ends with the value to check