exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 162 discussion

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

DRAG DROP -
You are developing a class named ExtensionMethods.
You need to ensure that the ExtensionMethods class implements the IsEmail() extension method on string objects.
You have the following code:

Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code segments to the correct targets in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

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
kartal
Highly Voted 5 years, 11 months ago
public static ExtentionMethods this string str
upvoted 49 times
BurgSharp
4 years, 12 months ago
1, 3 indeed
upvoted 3 times
...
...
rdasan
Highly Voted 5 years ago
public static class ExtensionMethods this String str
upvoted 7 times
...
nichlas
Most Recent 4 years, 5 months ago
According to: https://stackoverflow.com/questions/4910108/how-to-extend-c-sharp-built-in-types-like-string It should be "public static class ExtentionMethods" and "this String str"
upvoted 1 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 ...