adBrite

Your Ad Here

music

BidVertiser

Monday, December 6, 2010

Loop through the content of an array

            //create the array
            int[] ml = new int[7]; //{ 5, 3, 7, 9, 2, 6, 8, };
           
            //loop through the content of the ml array
            string x = "";

            for (int i = 0; i < ml.Length; i++)
            {
                x += Convert.ToInt32(ml[i]) + " ";
            }

            MessageBox.Show(x);

No comments:

Post a Comment

clicksor

Go Daddy Girl Ella Koon- $7.49 .COM Domains
CompUSA