what is work of continue statement in C#?

Answer Posted / prem

void main(){
int i;
for(i=1;i<10;i++)
{

console.write("prem");
continue;
c.w("hi");
}
}
It will print prem 9 times not print hi.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Overloaded constructor will call default constructor internally?

561


What are the types of operator?

455


In a memory when you Box and Unbox a value-type what happens?

540


What is the namespace for the thread class?

510


What is cookies c#?

483






Is it possible to execute multiple catch block for a single try statement?

582


Explain the security with aop?

646


How garbage collection deals with circular references.

467


What is data type in c# with example?

521


Is namespace a class?

492


What is use of FormBoarderStyle Propertie

532


Define the term immutable ?

618


What is the difference between delegates and superdelegates?

466


What is jagged array?

540


What is dataset and dataadapter in c#?

497