exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 20 discussion

Actual exam question from Microsoft's 70-483
Question #: 20
Topic #: 2
[All 70-483 Questions]

HOTSPOT -
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
peter1994
Highly Voted 5 years, 9 months ago
Yes,no,no is correct. The methods in a delegate are not guaranteed to be called in the same order as they were added.
upvoted 31 times
...
slobex
Highly Voted 5 years, 1 month ago
"The multicast delegate contains a list of the assigned delegates. When the multicast delegate is called, it invokes the delegates in the list, in order." https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/delegates/how-to-combine-delegates-multicast-delegates
upvoted 7 times
...
merry
Most Recent 4 years, 5 months ago
A multicast delegate will be called in the same order it was added to the delegate. while if any of the delegate is added more than once, then it will also be called more than once. The answer is YES, YES, NO
upvoted 1 times
...
DaGrooveNL
4 years, 5 months ago
FINAL ANSWER: Yes, No, No
upvoted 3 times
...
mohmou
4 years, 11 months ago
#2 is yes => The multicast delegate contains a list of the assigned delegates. When the multicast delegate is called, it invokes the delegates in the list, in order.
upvoted 2 times
lomanov
4 years, 10 months ago
You can override this behavior with GetInvocationList. If you wrap each delegate call in Task.Run(...), then order is not guaranteed.
upvoted 1 times
...
...
slobex
5 years ago
yes, yes, no, delegates that are subscribed to an event are executed synchronously, the even't get's all subscribers with SendMessage.GetInvocationList() and execute them in the order they were added to the list.
upvoted 5 times
...
Sujay
5 years, 1 month ago
Yes,Yes,NO
upvoted 3 times
...
Artem
5 years, 10 months ago
Yes, yes, no
upvoted 6 times
...
Asa
5 years, 11 months ago
how is option2 No? would the sequence sometimes changes?
upvoted 2 times
asdf652434
5 years, 9 months ago
order of calling is not guaranteed
upvoted 6 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...