new c# dictionary code example
Example 1: c# inline initialize dictionary
var testDict = new Dictionary<string, string>() { ["key1"] = "value1", ["key2"] = "value2" };
Example 2: c# dictionary functions
Dictionary<int, Func<string, bool>>
var testDict = new Dictionary<string, string>() { ["key1"] = "value1", ["key2"] = "value2" };
Dictionary<int, Func<string, bool>>