using System.Collections.Generic;
public static void Main()
Dictionary<int, int> dictionary = new Dictionary<int, int>();
Console.WriteLine("Trying with item syntax, this should work");
Console.WriteLine("Success");
Console.WriteLine("Failure");
Console.WriteLine("Trying with Add method, this should fail");
Console.WriteLine("Success");
Console.WriteLine("Failure");