Something like:
var someList = new List<string>();
someList.AddRange(
(from c in customers
select c.CompanyName));
var someDictionary = new Dictionary<string, string>();
foreach (var c in customers)
someDictionary.Add(c.CustomerId, c.CompanyName);
var someHashset = new HashSet<string>();
foreach (var c in customers)
someHashset.Add(c.CustomerId);