Creates a StringComparer ignoring or honoring the strings’ case, and using culture-specific information to influence the comparison.
public static StringComparer CreateComparer(CultureInfo cultureInfo, bool ignoreCase)
parameter | description |
---|---|
cultureInfo | Culture info. |
ignoreCase | If set to true ignore case. |
The comparer.