I had a question on a quiz that asked "What is the following doing?":
// Value is an int
IComparable thing = (IComparable)value;
Apparently the answer is boxing, but I don't know why. Why is this considered boxing and what is it doing? I was under the impression that boxing can only happen with object
.