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

What are collection classes?

486


What are some of the commonly used commands in sqlcommand?

497


What are strong name assemblies?

562


What is a protected class c#?

490


What is default value of bool in c#?

530






What is difference between ienumerable and ienumerator in c#?

519


How do I know if executenonquery is successful c#?

451


Define multicast delegate? How it be used?

601


What is the function of the not null constraint?

498


What is c# console application?

487


What is a method signature?

529


Define an assembly in .net?

529


Are c and c# the same thing?

493


What is c sharp used for?

496


What does writeline mean?

532