indicate the end of the string array

Posted by Sudhakar_A under C# on 10/11/2013 | Points: 10 | Views : 755 | Status : [Member] | Replies : 1
I wan ma next function to be called after i check whether it is the end of an array string




Responses

Posted by: Bandi on: 10/11/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
for (int i = 0; i < array.Length; i++)
{
MessageBox.Show(array[i].ToString ());
}
CallYourFunctionHere(); //When the end of the array is reached then control come out of the loop.. Then next immediate line code will execute


Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sudhakar_A, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response