static void Main(string[] args) { TestOne t = new TestOne(); Console.WriteLine(t.Op1()); Console.WriteLine(t.Op2("DEF")); }
public static string Op2(this TestOne obj, string str) { return(obj.Op1() + str); }