Unity笔试题
2022-01-13 本文已影响0人
数量积日记
1·描述一下C#中的装箱和拆箱,下面哪些地方会发生装箱或者拆箱?
a) int a= 10;
b) Object obj = 10;
c) Type type = a.GetType();
d) int b = (int)obij;
e) System.Console.WriteLine("helloworld (0)", 10);
a) int a= 10;
b) Object obj = 10;
c) Type type = a.GetType();
d) int b = (int)obij;
e) System.Console.WriteLine("helloworld (0)", 10);