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 the 3 logical operators?
What is difference between ienumerable and list in c#?
What are the principles of delegation?
What is selector c#?
What is data quality assurance?
How can you use abstract class and interface?
Why do we need private constructor in c#?
Explain how can you clean up objects holding resources from within the code?
What are the advantages of using assemble language programming?
How can you prevent escaping on backslashes in C# with string definitions?
What is file extension of webservices?
What is a class in unity?
What is a helper method in c#?
What are delegate methods?
Why ref is used in c#?