I have a linq query
var x = (from t in types select t).GroupBy(g =>g.Type)
which groups objects by their type, as a result I want to ha
The answers here got me close, but in 2016, I was able to write the following LINQ:
List objectList = similarTypeList.Select(o => new ObjectType { PropertyOne = o.PropertyOne, PropertyTwo = o.PropertyTwo, PropertyThree = o.PropertyThree }).ToList();