Methods and events

Syntax for Calling Method

Objectname-Method Here objectname specifies the name of an object, and Method specifies the name of a method. Example: Form1.Print “Hello World” Here Form1 is form name , and method Print is called to print the String “Hello World” to form. There are different methods associated with different controls.Methods are useful because they hide the details …

Syntax for Calling Method Read More »