标签:
using System; using System.IO; //using ddd; namespace ddaaaaaaaa { public class Test : ddd.ISomeThingFunction { public Test() { } public void Test1() { } public void haha() { throw new NotImplementedException(); } } public class Test11 { void ddd() { Test t = new Test(); //t.NBFunction(); t.NBFunction(""); } } } namespace ddd { public interface ISomeThingFunction { void haha(); } public static class ExtendFunction { public static void NBFunction(this ISomeThingFunction dd,string str) { } } }
标签:
原文地址:http://www.cnblogs.com/orp1989/p/4684590.html