Suppose these two codes:
1) using foreach with Add in new list
var myList = new List<MyType>();
foreach(var myType in otherEntity.ListOfMyType) {
myList.Add(new MyType {
//... copy properties here
});
}
2) using select
var myList = otherEntity.ListOfMyType.Select(myType => new MyType {
//... copy properties here
});
Exists other advantages on use select instead foreach beyond readability?