Workshop
Quiz
True or False: Visual Basic .NET is a true object-oriented language.
True. Visual Basic .NET is the first version of Visual Basic that is a true OO language.
An attribute that defines the state of an object is called a
Property
To change the value of a property, the property must be referenced on which side of an equal sign?
The left side
What is the term for when a new object is created from a template?
Instantiation
An external function of an object (one that is available to code using an object) is called a
Method
True or False: A property of an object can be another object.
True. Such properties are called object properties.
A group of like objects is called a
Collection
What tool is used to explore the members of an object?
Object Browser
Exercises
Create a new project and add text boxes and a button to the form. Write code that, when clicked, places the text in the first text box into the second text box. Hint: Use the Text property of the textbox controls.
Modify the collections example in this hour to print the Height of all controls, rather than the name.