public static bool EqualsOrdinalIgnoreCase(this string s, string value) { ThrowIf.ArgumentNull(s, nameof(s)); return(s.Equals(value, StringComparison.OrdinalIgnoreCase)); }
public static string ToStringInvariant(this IFormattable value, string format = null) { ThrowIf.ArgumentNull(value, nameof(value)); return(value.ToString(format, CultureInfo.InvariantCulture)); }
public static bool EndsWithOrdinal(this string s, string value) { ThrowIf.ArgumentNull(s, nameof(s)); return(s.EndsWith(value, StringComparison.Ordinal)); }