Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# Programming Question

Name: Anonymous 2010-10-21 14:24

object a = 10;
object b = 10;
object c = "10";
object d = "10";

Console.WriteLine(a == b); // false
Console.WriteLine(c == d); // true

why does the "Console.WriteLine(a == b)" outputs "false"?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List