using System;
public class Program
{
public static void Main()
#region dowhile
//The do-while allows the foreach statement to happen being that the variable "start" has a value of anything either equal to or lower than 3.
//The do-while allows the number of times the 10 numbers are displayed by incrementing the value of "start" by 1 until it reaches 4.
#endregion
#region foreachstatement
//The foreach statement contains and array of numbers 1-10 and displays each number within the array.
int start = 0;
do
int [ ] numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
foreach (int val in numbers)
Console.WriteLine(val);
}
start++;
while (start <= 3);