Click here to Skip to main content
13,248,562 members (74,402 online)
Click here to Skip to main content


Posted 10 Oct 2012

Return Unique values from a List in C#

, 10 Oct 2012
A possibility for your own function (as said in solution 1)You can start copying the first element to the second list and then delete it with RemoveAt, then use the Findcommand with that element. If found... remove it and try to find it another time, If not found start from the beggining...



Compare Revision Minor Date Status Editor
3 - publicly available No 10-Oct-12 1:04 Available Nelek
text addition
2 No 10-Oct-12 1:01 Available Nelek
Typo corrected
1 No 10-Oct-12 1:01 Available Nelek


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Germany Germany
I come from Spain. After making a lot of silly things during the studies, I wanted to correct me and to make something positive with my life, so I asked for (and got) an “Erasmus” scholarship to go to Germany. After obtaining a placement to make my Thesis in a Firm of Automation and Software development, I reached the double Degree in Electronics’ Engineering and Informatic. I have worked a time with VC++ 6, after that I was over 8 years busy with industry PLC and roboter programming. Now I am working on something related to car electronics and production.

I contrinue trying to learn C# in my spare time (which is even less than before, God bless my kid)

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171114.1 | Last Updated 10 Oct 2012
Article Copyright 2012 by Nelek
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid