示例#1
0
    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);
    }
示例#2
0
    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);
    }