using System; using System.Collections; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string[] week = new string[7]; week[0] = "Sunday"; week[1] = "Monday"; week[2] = "Tuesday"; week[3] = "Wednsday"; week[4] = "Thursday"; week[5] = "friday"; week[6] = "Saturday"; for (int i = 0; i < = week.Length-1; i++) { MessageBox.Show(week[i]); } } } }