indicate the end of the string array

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


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

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

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

Login to post response