View Problem

Rotate a list

Given a list ["apple", "orange", "grapes", "bananas"], rotate it by removing the first item and placing it on the end to yield ["orange", "grapes", "bananas", "apple"]
ExpandDiskEdit
java 1.5 or later
list.add(list.remove(0));
ExpandDiskEdit
java
Collections.rotate(list, -1);
ExpandDiskEdit
csharp 2.0 (LinkedList), 3.0 ("var" keyword)
var lst = new LinkedList<String>(new String[] {"apple", "orange", "grapes", "banana"});
lst.AddLast(lst.First());
lst.DeleteFirst();

Submit a new solution for java or csharp
There are 20 other solutions in additional languages (clojure, cpp, erlang, fantom ...)