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:

What are the entities called that are used to house methods ?

2:

True or False: To access methods in a class module, you must first create an object.

3:

Data that has been passed into a method by a calling statement is called a

4:

To pass multiple arguments to a method, separate them with a

5:

The situation in which a method or set of methods continue to call each other in a looping fashion is called

6:

How do you attach a task to a code statement?

Exercises

  1. Create a method as part of a form that accepts a string and outputs to the string. Add code to the TextChanged event of a text box to call the procedure, passing the contents of the text box as the argument.

  2. Create a single method that calls itself. Call this method from the Click event of a button and observe the error that results.


   
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