true if the length of suffix is less than or equal to the length of source and source ends with suffix; otherwise, false.
Every string starts and ends with an empty substring (""); therefore, if suffix is an empty string, this method returns true.
When possible, you should call string comparison methods that have a parameter of type System.Globalization.CompareOptions to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify CompareOptions.Ordinal or CompareOptions.OrdinalIgnoreCase for security comparisons.