Microsoft
70-511 · Question #185
70-511 Question #185: Real Exam Question with Answer & Explanation
The correct answer is A. Replace line 01 with the following code segment. E. Add the following code segment at line 12.. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. (Line numbers are included for reference only.) You add the following code fragment within a WPF window control. You need to ensure that the Contact class contains a business rule to ensure that the ContactName property is not empty or NULL. You also need to ensure that the TextBox control validates the input data. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).
Exhibits
Options
- AReplace line 01 with the following code segment.
- BReplace line 01 with the following code segment.
- CReplace line 01 with the following code segment.
- DAdd the following code segment at line 03.
- EAdd the following code segment at line 12.
Community Discussion
No community discussion yet for this question.

