Hi All, I have the following C# code below.
Object first = 5;
Object second = 10;
second = first;
Console.WriteLine(first + " " + second);
Object a = 3;
Object b = a;
a = 6;
Console.WriteLine(a + " " + b);
I get the following output:
5 5
6 3
Actually I am expecting "6 6" as the second set. Can anybody explain where I am wrong?
Regards, Justin Samuel.