namespace Dictionaries;

public static class Initializers
{
    public static void CollectionInitializer()
    {
        var textToNumber = new Dictionary<string, int>
            {
                { "jeden", 1 },
                { "dwa", 2 },
                { "trzy", 3 },
            };
    }

    public static void ObjectInitializer()
    {
        var textToNumber = new Dictionary<string, int>
        {
            ["jeden"] = 1,
            ["dwa"] = 2,
            ["trzy"] = 3
        };
    }
}
