What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / kunal yagnik
Methods and properties basically both are functions defining
different states if we relate them to real world.Both are
defined in a class and the procedure to execute them is a
bit different but this is only done to make the code more
transparent and visible.To understand this look the example
below :
He can walk,talk,run,write are methods while He is
sweet,soft spoken,fair are properties.
We will get the closer look if we try to implement these on
working code.
| Is This Answer Correct ? | 30 Yes | 21 No |
Post New Answer View All Answers
Explain the types of Views in Listview Control.
How many ways we can access file using VB?
What are some methods you can use to send data from one VB executable to another one?
How do I speed up control property access?
Is visual basic case sensitive?
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).
Scope of API's can be of types, what are they?
How would you attach pictures in column headers of List View Control?
Advantage of ActiveX Dll over Active Exe.
What is the difference between adodc and adodb in vb?
What are the Internet tools available in VB6.0?
What is form in visual basic?
How can I access a record by record number?
What is ActiveX Dll and ActiveX Exe?
What is executenonquery in vb net?