Make a Dictionary<string, T> with case-insensitive keys

suggest change

The constructor takes an IEqualityComparer<string>, not a StringComparison.

var myDict = new Dictionary<string, T>(StringComparer.InvariantCultureIgnoreCase);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents