// An array of integers
int[] array1 = {0, 1, 2, 3, 4, 5};
int x = 0;
do
{
System.Console.WriteLine(array1[x].ToString());
x++;
} while(x < 6);
// An array of strings
string[] array2 = {"hello", "world"};
int y = 0;
do
{
System.Console.WriteLine(array2[y]);
y++;
} while(y < 2);