<p>I have a collection of objects to which I'd like to just add a new property. How do I do that with LINQ?</p>

[{'answer_id': 46206, 'author': 'John Boker', 'author_id': 2847, 'author_profile': 'https://Stackoverflow.com/users/2847', 'pm_score': 3, 'selected': True, 'text': '<pre><code>var a = from i in ObjectCollection select new {i.prop1, i.prop2, i.prop3, ..., newprop = newProperty}\n</code></pre>\n'}, {'answer_id': 46234, 'author': 'Guy', 'author_id': 1463, 'author_profile': 'https://Stackoverflow.com/users/1463', 'pm_score': 0, 'selected': False, 'text': "<p>I don't think that you can using pure LINQ. However, if you're doing this sort of thing a lot in your code you may be able to make this work with reflection.</p>\n"}, {'answer_id': 46533, 'author': 'Lasse V. Karlsen', 'author_id': 267, 'author_profile': 'https://Stackoverflow.com/users/267', 'pm_score': 0, 'selected': False, 'text': '<p>Why do you want to add the extra property? Or, put a different way, what do you intend to do with the property once you have it in your new IEnumerable source?</p>\n\n<p>If you need it for data binding, I have a helper class that might help you.</p>\n'}]
['https://Stackoverflow.com/questions/46189', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/781/']