Workshop

   

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A, "Answers to Quizzes/Exercises."

Quiz

1:

True or False: C# is a true object-oriented language.

2:

An attribute that defines the state of an object is called a what?

3:

To change the value of a property, the property must be referenced on which side of an equal sign?

4:

What is the term for when a new object is created from a template?

5:

An external function of an object (one that is available to code using an object) is called a what?

6:

True or False: A property of an object can be another object.

7:

A group of like objects is called what?

8:

What tool is used to explore the members of an object?

Exercises

  1. 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 text box controls.

  2. Modify the collections example in this hour to print the Height of all controls, rather than the name .


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net