日期:2014-05-17 浏览次数:20775 次
interface Ixxx { ... } static class IxxxHelper { public static void CommonMethod(this IxxxHelper instance) { ... } } class A : Ixxx { public void foo() { (this as Ixxx).CommonMethod(); } }