TYPE
Dictionary<TKey,TValue>
Mutable key-value mapping; keys are unique under the configured equality comparer.
Formal Syntax & Structure
csharp syntaxcsharp
new Dictionary<TKey,TValue>(comparer)Working Example
Example Snippetcsharp
using System;using System.Collections.Generic;var map = new Dictionary<string,int>(StringComparer.OrdinalIgnoreCase);map["A"] = 1;