摘要: class Program { static void Main(string[] args) { //持有接口的引用 List<speak> lists = new List<speak>(); test te = new test() { user = new user() { name = "sa123", pwd = "123456" } }; lists.Add(te); test te2 = new test() { user = new... 阅读全文
posted @ 2013-04-18 17:11 Go和分布式IM 阅读(169) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { List<string> ss = new List<string>(); ss.Add("a"); ss.Add("b"); ss.Add("c"); ss.Add("d"); ss.Add("e"); ss.Add("f"); ss.Add("g"); ss.Ad... 阅读全文
posted @ 2013-04-18 16:52 Go和分布式IM 阅读(251) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ReflectCallPrivateMethod{ class Program { static void Main(string[] args) { BasePage pb = new BasePage(); Type ty = pb.GetType(); System.Reflection.MethodI... 阅读全文
posted @ 2013-04-18 16:29 Go和分布式IM 阅读(160) 评论(0) 推荐(0) 编辑