Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Merge properties of anonymous type object

$
0
0

Hi, 

I have two lists:

List<T> elements

List<T> contents

Both have common property called ID. Other properties are different. I want to merge both the above lists into single list. I want to check whether ID is equal for both objects before merging. Please let me know how this can be achieved.

Thank you.

Regards,

Kiran


Viewing all articles
Browse latest Browse all 8156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>