Section 17.6. Quiz


17.6. Quiz



Question 171 .

Define an event to signal that the phone has rung.



Question 172 .

Are delegates value types or reference types?



Question 173 .

What is the purpose of a delegate?



Question 174 .

How do you instantiate a delegate, such as the OnPhoneRings delegate described in the first question?



Question 175 .

Give an example of how you might call the delegated method through the delegate.



Question 176 .

What is multicasting?



Question 177 .

What does the event keyword do?



Question 178 .

If you want to pass information into the method that is called through the event, how do you do so?



Question 179 .

What properties or methods does System.EventArgs have?



Question 1710 .

How can you create delegated methods anonymously?



Learning C# 2005
Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
ISBN: 0596102097
EAN: 2147483647
Year: 2004
Pages: 250

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