How can we transform a list of string or a list of object to a ListViewItemCollection in one line with linq, where object is for example a person with Name property that will be displayed to the ListViewItem.
Here is my current code :
foreach (string word in sf.lstWords)
{
lvWords.Items.Add(new ListViewItem(word));
}