枚举类
1 | public enum CityEnum |
枚举类扩展方法
1 |
|
针对枚举的一些扩展方法,方便调用方,枚举值的判断, 减少输入
调用方演示
1 | class Program |
1 | public enum CityEnum |
1 |
|
针对枚举的一些扩展方法,方便调用方,枚举值的判断, 减少输入
1 | class Program |
微信支付
支付宝
本文标题:枚举类扩展方法
文章作者:peter
发布时间:2020年03月02日 - 14:03
最后更新:2022年07月28日 - 11:07
原始链接:https://www.123zhibei.xyz/article/7d64b876.html
许可协议: 转载请保留原文链接及作者。