using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication1 { static class Program { static void Main() { data(); } // sourcecode to demo initializing the integer array static void data() { int[] arrData = new int[5] { 76, 201, 230, 400, 10 }; for (int i = 0; i < arrData.Length; i++) { MessageBox.Show(arrData[i].ToString()); } } } }
Leave a Reply