c#中int如何转化成ushort

2024-11-30 08:34:56
推荐回答(1个)
回答1:

int a=100;
ushort b;
b =(ushort)a;