Code center > Darwinbots3

An ArrayList inside an ArrayList

<< < (2/2)

Numsgil:
Here, this should blow your mind a bit :P


--- Code: ---var list = new List<int>() { 5, 4, 2, 1, 7, };

list.Add(6);
list.Add(7);
list.Add(8);
list.Add(9);

list.ForEach(x => System.Console.WriteLine(x));

--- End code ---

Botsareus:
Oh Nice, not only did I learn a new way to create an array, but I learned a new Operator as well.  :P

Navigation

[0] Message Index

[*] Previous page

Go to full version