單項(xiàng)選擇題

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.  
The application contains an ObservableCollection object named Pictures that contains several Picture objects. 
Each Picture object contains the Name and PictureFilePath properties. 
You add a ListBox control to the application. 
You need to ensure that the pictures are displayed in the ListBox control. 
Which code fragment should you use?()

A.
B.
C.
D.

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