duplicate-removal

How to Remove Duplicate Domains from a Large List of URLs? RegEx or Otherwise

I originally asked this question: http://stackoverflow.com/questions/4002115/regular-expression-in-gvim-to-remove-duplicate-domains-from-a-list However, I realize I may be more likely to find a working solution if I "broaden my scope" in terms of what solution I'm willing to accept. So, I'll rephrase my question & maybe I'll get a bett...

how to merge 2 List<T> with removing duplicate values in C#

I have two lists List that i need to combine and removing duplicate values of both lists A bit hard to explain, so let me show an example of what the code looks like, and what i want as a result, in sample I use int type not ResultadoDeAnalisisFicheroSql class. first_list = [1, 12, 12, 5] second_list = [12, 5, 7, 9, 1] The result of ...