1 // Compiler options: -t:library 2 3 using System; 4 5 namespace Testy 6 { 7 public static class TestExtensions 8 { MyFormat(this Object junk, string fmt, params object [] args)9 public static string MyFormat (this Object junk, 10 string fmt, params object [] args) 11 { 12 return String.Format (fmt, args); 13 } 14 } 15 } 16