using System.Collections.Generic;
public static void Main()
List<int> myList = new List<int>();
List<int> helperList = new List<int>();
foreach(int element in myList)
if(helperList.Contains(element))
helperList.Remove(element);
Console.WriteLine(helperList[0]);