單項(xiàng)選擇題

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. 
You create a class named Person that has a FirstName property and a LastName property. 
You create a resource that contains a collection of Person objects and assign the family key to it. 
You add a ListBox control by using the following code fragment. (Line numbers are included for reference only.)

You need to ensure that each item in the ListBox control meets the following requirements: 
Contains a TextBox that is data-bound to the FirstName property.  
Contains a TextBox that is data-bound to the LastName property. 
Which code fragment should you insert at line 04?()

A.
B.
C.
D.

微信掃碼免費(fèi)搜題