摘要:
用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 { ... 阅读全文