首页 > 学院 > 开发设计 > 正文

C#中的switch case

2019-11-17 01:34:29
字体:
来源:转载
供稿:网友

C#中的switch case

在C#中switch(type){case tpye1:break;case tpye2:break;case tpye3:break;case tpye4:break;};其中type可以是数字,也可以是字符串;


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表