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);
本文标题:Unity笔试题
本文链接:https://www.haomeiwen.com/subject/rqkncrtx.html
网友评论