using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
// Write a program that prints the elements in a collection to the console.
// Requirements:
// 1. Make use of a loop (e.g. for, foreach, while, do-while).
// 2. Make use of an if-statement
string[] names = {"Alice", "bob", "Cindy" };
int i;
for(i=0;i < 9; i++){
Console.WriteLine(names[i]);
if(i>1)
break;
}