Answer Posted / ramya
The continue statement passes control to the next iteration
of the enclosing iteration statement in which it appears
using System;
class ContinueTest
{
public static void Main()
{
for (int i = 1; i <= 10; i++)
{
if (i < 9)
continue;
Console.WriteLine(i);
}
}
}
o/p:
9
10
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is method in c#?
What is the difference between User controls and Custom Controls?
What is difference between internal and protected internal in c#?
Explain when should you call the garbage collector in .net?
What is use of hashtable in c#?
How do I enforce const correctness in c#?
What is a delegate? How can it works?
What can be done with c#?
Can a class be private in c#?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What do you mean by directing?
Can you explicitly call a destructor?
What is the use of iqueryable in c#?
What is difference between constants and readonly in c#?
What are the differences between static, public and void in c#?