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 reflection in c#?
How to block a class from being inherited further?
What do constructors do in c#?
What is a interface in c#?
What is the default value of decimal in c#?
What are fields in c#?
Why are local variables stored in stack?
What's the difference between class and object?
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
Does c# support c type macros?
What is private readonly in c#?
Difference between abstract classes and interfaces
What is c# in asp net?
Explain the feature of c# language?
how to stored and retrive video in Sql server using asp.net c#......?