using System;
namespace array3
{
internal class Program
{
static void Main(string[] args)
{
string[] weekDays =
{ “sun”, “Mon”, “Tue” , “Wed”, “Thu”, “Fri” , “Sat”};
for(int i = 0; i < weekDays.Length; i++)
{
Console.WriteLine(weekDays[i]);
}
foreach(string s in weekDays)
{
Console.WriteLine(s);
}
int[] a = { 1, 2, 3 };
int sum = 0;
for(int i = 0; i < a.Length; i++)
{
sum += a[i];
}
Console.WriteLine(sum);
}
}
}