Question:Which of the following is not an unboxing conversion?
A void Sample1(object o) { int i = (int)o; }
B void Sample1(ValueType vt) { int i = (int)vt; }
C enum E { Hello, World} void Sample1(System.Enum et) { E e = (E) et; }
D interface I { int Value { get; set; } } void Sample1(I vt) { int i = vt.Value; }
E class C { public int Value { get; set; } } void Sample1(C vt) { int i = vt.Value; }
+ AnswerE
+ Report