using System;
public class Program
{
public static void Main()
string[] pets = { "dog", "cat", "bird" };
// Loop with the foreach keyword.
foreach (string value in pets)
Console.WriteLine(value);
}