I have a collection (Collection<PolicyTransaction> LobjThreadPolicyTransactions).
This collection is having a string variable called "PolicyNumber"
In thins list of collection(LobjThreadPolicyTransactions), sometimes, I will be getting same PolicyNumber more than once (Same policy number may have more than one transaction).
I want to check which policy number is repeating and want to keep those records in a separate list.
Basically, I want to get the second repeated item from the collection in VS 2005, in C#.
How to do this? Please help.