PrepAway - Latest Free Exam Questions & Answers

How should you complete the code?

DRAG DROP
You are developing a Universal Windows Platform (UWP) app that will provide users with the ability to assign
tasks to their contacts. The app will have a button that users click to display their contact list.
You need to develop the click event handler for the button.
How should you complete the code? To answer, drag the appropriate code elements to the correct targets.
Each element 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:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Example:
private async void PickAContactButton_Click(object sender, RoutedEventArgs e)
{
ContactPicker contactPicker = new ContactPicker();
Contact contact = await contactPicker.PickContactAsync();
}

https://msdn.microsoft.com/en-us/library/windows/apps/mt185415.aspx

One Comment on “How should you complete the code?


Leave a Reply