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
Can a static class contain non static members?
Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
List down the access modifiers available in c#?
How can you use abstract class and interface?
What is a jagged array?
Why do we use class in c#?
What is serialization in unity?
Is it possible to inline assembly or il in c# code?
What is a namespace server?
What is a private method in c#?
What is the meaning of MSIL?
Explain the mechanism of VB.NET/C# achieve polymorphism?
Which attribute is used in order that the method can be used as webservice?
What is an assembly qualified name
What is equal c#?