c# coinvariant type for Dictionary code example
Example 1: c# dictionaries
IDictionary<int, string> dict = new Dictionary<int, string>();
//or
Dictionary<int, string> dict = new Dictionary<int, string>();
Example 2: c# dictionary functions
Dictionary<int, Func<string, bool>>