using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
var d = new Dictionary<object, int>();
var o1 = (object)1;
var o2 = (object)2;
var o3 = (object)1;
d[o1] = 1;
d[o2] = 2;
int result;
if (d.TryGetValue(o3, out result))
Console.WriteLine(result);
}
else
Console.WriteLine("Nothing.");