C# String EndsWith() (With Examples)
www.programiz.com › library › stringEndsWith (string value, StringComparison comparisonType) Here, EndsWith () is a method of class String. EndsWith () Parameters The EndsWith () method takes the following parameters: value - string to compare to the substring at the end of the given string comparisonType - determines how the given string and value are compared