I have generic list say, List<int> and I want to find the duplicate values from the List<int> and store it in new List<int>. There are many ways to achive this. One can loop through all the elements of List<int> and store the duplicate in other list OR can use anonymous method to acieve same. I love the anonymous method. Here is the code to get duplicate value from List<>.
Happy Programming !!!!