摘要: 静态成员的动态封装类 dynamic dynamic = new StaticMemberDynamicWrapper(typeof(string)); // 动态调用静态方法 var r = dynamic.Concat("A", "B"); Console.WriteLine(r); if (r 阅读全文
posted @ 2021-01-20 20:26 wesson2019 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 标识位 byte BitArray 阅读全文
posted @ 2021-01-20 20:22 wesson2019 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 一般用法 public sealed class Singleton { private static readonly Singleton _instance = new Singleton(); static Singleton() { } private Singleton() { } pub 阅读全文
posted @ 2021-01-20 20:14 wesson2019 阅读(53) 评论(0) 推荐(0) 编辑