Each item returned by the ArrayList object's enumerator is of type object. var is still determined at the compile time.