static void Main(string[] args)
{
string[] friendNames ={"Robert Barwell","Mike Parry",
"Jeremy Beacock"};
Console.WriteLine("Here are {0} of my friend:",
friendNames.Length);
foreach (string friendName in friendNames)
{
Console.WriteLine(friendName);
}
Console.ReadKey();
{
string[] friendNames ={"Robert Barwell","Mike Parry",
"Jeremy Beacock"};
Console.WriteLine("Here are {0} of my friend:",
friendNames.Length);
foreach (string friendName in friendNames)
{
Console.WriteLine(friendName);
}
Console.ReadKey();