Microsoft Exam Questions

What should you do ?

….
set
{
_Data = value;
}
}

private void NofityPropertyChanged(string info)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(info));
}
}

The UI is not being updated when the Data property is set.

You need to ensure that the DisplayData class correctly updates the UI when the Data ..

What should you do ?

A.
Insert the followiing code at line 14
NotifyPropertyChanged(“Data”);

B.
Insert the followiing code at line 16
NotifyPropertyChanged(“Data”);

C.
Insert the followiing code at line 14
NotifyPropertyChanged(value);

D.
Insert the followiing code at line 16
NotifyPropertyChanged(value);