Trivia: Equality of objects and strings
A small trivia question for a change; some of my colleagues and friends may already have heard this from me. Take a look at the following snippet of C# code: T x1 = V1; T x2 = V2; Console.WriteLine(x1 == x2); Console.WriteLine(x1.ToString() == x2.ToString()); In the code, you need to fill in three missing parts: […]
June 30, 2009
В· Jouni Heikniemi В· 2 Comments
Tags: trivia В· Posted in: .NET