How to compare two objects excluding a single object property?
<p>i need to avoid duplication in a list for that i used the below code . I would like to know whether there is any option to compare the objects as (item = findobject) except item.id . i dont want to type the entire property list here. Please suggest a better method.</p>

<pre><code>var result =(obj.Find(item =&gt; (item== findObject)));            
</code></pre>
