摘要: namespace ConsoleApplication1{ public delegate void Del(int data); class Program { //Action<int> //Func<int,int> static void Main(string[] args) { fun 阅读全文
posted @ 2017-08-19 17:50 jiangcm 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 控制台程序示例: 单例的设计: class Manager { private static Manager _instance = null; public static Manager CreateInstance() { if (_instance == null) { _instance = 阅读全文
posted @ 2017-08-19 17:10 jiangcm 阅读(212) 评论(0) 推荐(0) 编辑