I have a silverlight project setup using silverlight 5 and .net framework 4.5
on my xaml.cs file there is code block
var displayMemberPath = comboBox.DisplayMemberPath; for (var i = 0; i < comboBox.Items.Count; i++) { var item = comboBox.Items.ElementAt(i) //ElementAt is not found
'System.Windows.Controls.ItemCollection' does not contain a definition for 'ElementAt' and no extension method 'ElementAt' accepting a first argument of type 'System.Windows.Controls.ItemCollection' could be found (are you missing a using directive or an assembly reference?)