I have explained these points using an example. My example uses a WebBrowser control of a Windows Forms application.Step 1: Initially create a new window based project. Execute Visual Studio then:
When this Button is clicked you will get the following message:The second button's output is:
C# Corner. All contents are copyright of their authors.