Why does this produce \"0\" ?
object a = 0; object b = a; a = null; Console.WriteLine(b.ToString()); // Produces \"0\" Console.Read();
Does
Boxing (which is the process that happens here) is pretty nicely explained in the following article with examples at what happens in memory.