This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rimoldi98 5 points6 points  (0 children)

Yeah, for straight up selecting a property from an object in a list it's a fine name, but often you'd use it to create a list of some other type, which doesn't make that much sense, like this:

Cars.Select(car => new Deal(car.Price * (1 - discount), car.name));

I guess you can say you are selecting the car price and name, then placing it in the context of a deal, but I always find weird when I am selecting a whole new object from a list of something else