Consider the class C# 1 2 3 4 5 6 7 8 9 10 11 12 13 namespace ExtensionMethod { public class testClass { public string sayHello ( ) { return "Hello" ; } } } Invoke the above from your form using C# 1 2 3 4 5 6 testClass test = new testClass ( ) ; MessageBox . Show ( test . sayHello ( ) ) ; This will show “Hello” in message box. Consider the scenario where you don...