static class Test { public static void Foo (this string p1) { } } class C { public static void Main () { //int x = Test.Foo ("bb"); "a".Foo (); } }