Boxing is when a value type is assigned to an object type. Is it the same when a reference type is assigned to an object?
When a type (which isn’t object) is assigned, what happens? Is that boxing too?
int num=5;
object obj = num; //boxing
//////////////////////
MyClass my = new MyClass();
object obj = my; //what is name this convert (whethere is boxing?)
I assume you mean something like
This works because
System.String, like all other classes, derives fromSystem.Object: