技术栈
opreator
Afterwards_
10 个月前
c#
·
implicit
·
explicit
·
opreator
C#中implicit和explicit
int i = 1;double d = i;double d = 1;int i = (int)d隐式转换,相当于封箱操作如: int i = 1; object obj = i;