摘要: switch 表达式支持的类型为 sbyte、byte、short、ushort、int、uint、long、ulong、char、string 或枚举类型,或者可以隐试转换到这些类型的自定义对象或其他内置类型。 switch(enum){ case enum1: ... ; break; case 阅读全文
posted @ 2019-09-27 01:04 盗哥泡茶去了 阅读(302) 评论(0) 推荐(0)