摘要: 用this关键字为类添加扩展方法using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace test{ class Class1 { public string code = "2"; private void Show() { Console.Write(this.GetAddress()); } } public static class Class2 { ... 阅读全文
posted @ 2012-07-24 19:55 tnspop 阅读(425) 评论(0) 推荐(0) 编辑