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's difference between constants and static readonly?
How do you declare an arraylist?
How Is The Dll Hell Problem Solved In .net?
What is the difference between “finalize” and “finally” methods in c#?
What does type safe mean in c#?
What does mean before a string in c#?
What is difference between dynamic and var in c#?
What is the difference between ienumerable and enumerator?
What is the difference between inheritance and abstract class?
What is thread.sleep()?
What is response redirect in c#?
What is use of abstract class in c#?
What is Wrapper class in dot net?
what are the contents of an assembly ?
What are expressions c#?