Workshop


Quiz

1.

What are the four actions commonly performed on objects?

2.

True or False: The .NET Framework contains classes that we will be using in our ASP.NET web pages.

3.

In the past two hours, we examined a number of fundamental programming concepts. In this hour, we looked at objects, which have properties, methods, and events. What programming concept is analogous to an object's properties?

4.

What programming concept is analogous to an object's methods?

5.

In Visual Basic, what keyword in the subroutine definition indicates that the subroutine should be called when a specified event fires?

Answers

1.

Before objects can be used, they must first be instantiated. Once an object instance exists, often the properties of the object are then set, followed by calling the object's methods. Additionally, event handlers may need to be created in order to have code executed in response to the firing of an object's event.

2.

True. In fact, all ASP.NET Web controls are implemented as classes in the .NET Framework.

3.

Properties are analogous to variables.

4.

Methods are analogous to subroutines and functions.

5.

The Handles keyword.

Exercises

There are no exercises for this hour.




Sams Teach Yourself ASP. NET 2.0 in 24 Hours, Complete Starter Kit
Sams Teach Yourself ASP.NET 2.0 in 24 Hours, Complete Starter Kit
ISBN: 0672327384
EAN: 2147483647
Year: 2004
Pages: 233

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