L. P. with Microsoft C# - Level 5-Quiz-1

  1. A single delegate has the capacity to interact with multiple methods as long as they have the same Signature.
  2. When a delegate is called, the Target class provides the implementation for that delegate.
  3. Before a delegate can be multi-cast it must meet certain conditions. Any delegate that returns Void can become a multi cast delegate.
  4. You have two delegates named DInt and CInt. Which of the following lines of code will create a single, multi-cast delegate out of these two delegates?

    MulticastInt = DInt + CInt;

  5. Acceptance of a new network connection events is a system initiated event.
  6. Delegates provides the implementation method for an Event.
  7. An Event has occurred and code needs to be executed in response to this Event.Subscriber provides the implementation code for an Event.
  8. When an Event is raised, Publisher defines the delegate for that event.
  9. the following lines of code is a valid declaration of a delegate.

    public delegate void SquareResizeHandler (int newSideMeasure);

  10. When you create an instance of a delegate the parameter that is passed is the Implementing method.
Permalink | Comments (0) | Hits: 1274 | Time: 14:57:15
Learning Programming with Microsoft C# - Level 5-1.4
Learning Programming with Microsoft C# - Level 5-2.1
All Comments

 No Data Now...

Post Your Comment
^ ^

Top