Which elements should you include in Target 1 and Target 2 to complete the signature for the collection class?

DRAG DROP
You are developing a Windows Store app.
The app will use a model that is defined by using the following code:

You need to create a class to represent a collection of Customer objects. The class will be
used for data binding. The solution must ensure that if changes are made to the objects of
the class, a notification will be sent to the user interface (UI) controls to which the collection
is bound.
You have the following signature:
public classCustomerList : Target 1<Target 2>
Which elements should you include in Target 1 and Target 2 to complete the signature for
the collection class? (To answer, drag the appropriate 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.)

DRAG DROP
You are developing a Windows Store app.
The app will use a model that is defined by using the following code:

You need to create a class to represent a collection of Customer objects. The class will be
used for data binding. The solution must ensure that if changes are made to the objects of
the class, a notification will be sent to the user interface (UI) controls to which the collection
is bound.
You have the following signature:
public classCustomerList : Target 1<Target 2>
Which elements should you include in Target 1 and Target 2 to complete the signature for
the collection class? (To answer, drag the appropriate 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.)

Answer:

Explanation:

* In C# and Visual Basic, the generic ObservableCollection<T> class is a good collection
choice for data binding, because it implements the INotifyPropertyChanged and
INotifyCollectionChanged interfaces.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


TestUser01

TestUser01

ObservableCollection
Customer