Objects and structured data
set
As a collection: < ] {"DOG", "CAT", "Elephant", "Lion", "CAT"}; mylabel.text = Animalarray.getValue (2) .tostring () array.indexof (Animalarray, "CAT") " font>";} script>
This program output is obviously: ELEPHANT.
Below is a program that traversed in an array: <% @ page language = "c #"%>