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 are delegates and why are they required?
Are c# destructors the same as c++ destructors?
What is the main usage of keyword “virtual†? How does it work for a method or property?
What is serialization in c#?
Can I use parseint?
Why extension method is static?
In gridview in editmode if we want to display information in one combobox based on
What is data annotation in c#?
What is difference between abstract class and interface in c#?
Can you declare a field readonly?
What is the difference between internal and private in c#?
How many parameters can a method have c#?
List down the differences between public, static and void keywords?
Can int be null in c#?
How do you sort an array in c#?