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 difference between destruct or and garbage collection ?
What are the types of class in c#?
What is session c#?
What is the relation between classes and objects?
What is a predicate in c#?
How is a string immutable?
What are assemblies?
What is Garbage Collection in .Net?
Write a program in C# for checking a given number is PRIME or not.
Could you explain the difference between func vs action vs predicate?
What does using system mean in c#?
Why do we use ienumerable in c#?
How do I automate my desktop application?
What is method overriding in c#
What are c# i/o classes?