Linq select to new object – Stack Overflow

This is a great article for syntax needed to create new objects from a LINQ query. But, if the assignments to fill in the fields of the object are anything more than simple assignments, for example, parsing strings to integers, and one of them fails, it is not possible to debug this.

Read More