·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> 网站建设开发 >> ASP.NET网站开发 >> C#中的switch case

C#中的switch case

作者:佚名      ASP.NET网站开发编辑:admin      更新时间:2022-07-23

C#中的switch case

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