Make a Dictionary<string, T> with case-insensitive keys
suggest changeThe constructor takes an IEqualityComparer<string>, not a StringComparison.
var myDict = new Dictionary<string, T>(StringComparer.InvariantCultureIgnoreCase);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents