public static void Main(string[] args) { LinkedList <int> numbers = FunctionsCollection.ReadIntLinkedListUptoEmptyLine(); numbers = RemoveOddOccuringNumbers(numbers); Console.WriteLine("The sequence without the members that occur odd number of times is:"); FunctionsCollection.PrintIntLinkedList(numbers); }
public static void Main(string[] args) { LinkedList <int> numbers = FunctionsCollection.ReadIntLinkedListUptoEmptyLine(); numbers = RemoveNegativeMembers(numbers); Console.WriteLine("The sequence without its negative members is:"); FunctionsCollection.PrintIntLinkedList(numbers); }