Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Human human = new Human("Grey", "Goo");

            Console.WriteLine(human.GetHashCode());
            Human human2 = new Human("Grey", "Goo");

            Console.WriteLine(human2.GetHashCode());
            PrintHumanComparison(human, human2);
            DateTime date   = new DateTime(2010, 11, 12);
            Human    human3 = new Human("John", "Doe", date);

            PrintHumanComparison(human2, human3);
            Console.ReadLine();
        }