Ejemplo n.º 1
0
        public void LinkedListMapTest()
        {
            var intList = new LinkedList<int>();

            foreach (int i in a) intList.InsertFirst(i);

            Func<int, int> doubler = (x) => { return x * 2; };
            intList.Map(doubler);
            //int[] b = a.Map<int, int>(doubler).ToArray();
        }