for (int i = 0; i < List.Count; i++) { for (int j = List.Count - 1; j > i; j--) { if (List[i] == List[j]) { List.RemoveAt(i); } } }