摘要: 参考:http://www.jianshu.com/p/8887b3b3e8ba 代码 解决方案 这种思路我觉得很好啊,效率比switch更快。switch相当于依次比较的,而字典表只需要比较一次(查一次hash表)更重要的是容易扩展。 解决方案 貌似只有在枚举上才用switchswitch必须是c 阅读全文
posted @ 2017-11-08 21:08 三页菌 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Attribute Attribute FYI Link: Attribute在.net编程中的应用(一) Attribute在.net编程中的应用(二) Attribute在.net编程中的应用(三) Attribute在.net编程中的应用(四) Attribute在.net编程中的应用(五) 阅读全文
posted @ 2017-11-08 12:02 三页菌 阅读(128) 评论(0) 推荐(0) 编辑
摘要: xxx 阅读全文
posted @ 2017-11-08 11:47 三页菌 阅读(59) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// 将List传入 params o 阅读全文
posted @ 2017-11-08 11:41 三页菌 阅读(341) 评论(0) 推荐(0) 编辑