This is inner for loop
I have the collection Arraylist which contain 10 lines
And i am performing some operation on that
If any line is blank it should for the next line
and i m declaring the string in which m taking that line
and if(string == "")
{break;
}
If the above condition satisfied it break the inner foreach loop and goes to outer loop
But i dont want the same
It should go for the same inner foreach loop
Arjun_Sarankulu
-3
Junior Poster
Recommended Answers
Jump to PostInstead of
break
usecontinue
All 3 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Arjun_Sarankulu
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.