Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 Question 2 A delegate is an object that contains a reference to a(n)

ID: 3555162 • Letter: Q

Question

Question 1

Question 2

A delegate is an object that contains a reference to a(n) __________.

Question 3

C# delegates provide a way for a program to __________.

Question 4

Which of the following correctly declares a delegate type?

Flag this Question

Question 5

If you have declared a delegate instance, you can assign it a reference to a method as long as the method has the same __________ as the delegate.

Question 6

You can combine two delegates to create a(n) __________ delegate.

Question 7

To combine two delegates using the + operator, the delegate objects must __________.

Question 8

In C#, a(n) __________ is triggered when specific changes to an object occur.

Question 9

An event handler delegate requires __________ arguments.

Question 10

In an event handler method, the sender is the __________.

Question 11

The EventArgs class contains a static field named __________.

Question 12

When creating events, you can use a predefined delegate type named __________ that is automatically provided by the .NET Framework.

Question 13

Which of the following is not a predefined Control event?

Question 14

A single Control can raise __________ event(s).

Question 15

When you create Forms with Controls that raise events, an advantage to creating the code by hand over using the Visual Studio IDE is __________.

Question 16

When a Form contains three Controls and one has focus, you can raise an event by __________.

Question 17

The TabStop property of a Control is a(n) __________.

Question 18

The TabIndex property of a Control is a(n) __________.

Flag this Question

Question 19

The Control that causes an event is the __________ argument to an event method.

Question 20

Which of the following is true?

triggered by actions

Explanation / Answer

1)

Therefore the correct option is “Triggered by actions”.

2)

Therefore the correct option is “Method”.

3)

Therefore the correct option is “include methods from other classes”.

4)

Therefore the correct option is “delegate void aDelegate(int num);”.

5)

Therefore the correct option is “two of the above”.

6)

Therefore the correct option is “composed”.

7)

Therefore the correct option is “both of these”.

8)

Therefore the correct option is “event”.

9)

Therefore the correct option is “two”.

10)

Therefore the correct option is “object where the event was initiated”.

11) empty

12) EventHandler

13) Destroy

14) any number of

15) you are less likely to make typing errors

16) either of these

17) Boolean value indicating whether the Control has a position in the tab sequence

18) integer value indicating the tab order

19) first

20) Both of the above are true.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote