在c#中
代碼如下:
switch(type)
{
case tpye1:
break;
case tpye2:
case tpye3:
case tpye4:
};
其中type可以是數(shù)字,也可以是字符串;
更多信息請查看IT技術專欄
2025國考·省考課程試聽報名