I am using C# and targeting the .NET Framework 3.5. I\'m looking for a small, succinct and efficient piece of code to copy all of the items in a ListBox to a List
List
A bit of LINQ should do it:-
var myOtherList = lbMyListBox.Items.Cast().ToList();
Of course you can modify the Type parameter of the Cast to whatever type you have stored in the Items property.