Skip to content

Tag Archives: equality

All types are not compared equally

29-Oct-09

Here is a bit of a quiz: What does this program print?

using System; using System.Collections.Generic; class Person { public String Name { get; set; } } class Example { static void Main() { var people = new List<Person> { [...]