I have an ItemCollection that I\'d like to query using LINQ. I tried the following (contrived) example:
var lItem = from item in lListBox.Items where Str
You need to specify the type of "item"
var lItem = from object item in lListBox.Items where String.Compare(item.ToString(), "abc") == true select item;