摘要: System.Collections.Generic.Dictionary dic = new Dictionary() { {1,"a"}, {2,"b"}, }; 阅读全文
posted @ 2014-05-21 13:35 子清 阅读(507) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { Cat c = new Cat { Age = 1, Name = "asdf" }; Console.WriteLine(c.Age +" "+c.Name ); } ... 阅读全文
posted @ 2014-05-21 13:23 子清 阅读(439) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/zenghongliang/archive/2010/06/28/1766629.html 阅读全文
posted @ 2014-05-21 13:01 子清 阅读(108) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/zenghongliang/archive/2010/06/28/1766615.html 阅读全文
posted @ 2014-05-21 12:58 子清 阅读(153) 评论(0) 推荐(0) 编辑
摘要: public BankAccount(int accountAge, int creditScore, AccountInterest accountInterest) { AccountAge = accountAge; CreditScore = creditScore; AccountInterest = accountInterest; } public i... 阅读全文
posted @ 2014-05-21 12:52 子清 阅读(127) 评论(0) 推荐(0) 编辑