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 is partial assembly reference

606


Why ienumerable is used in c#?

535


What is private variable?

565


How can I access the registry from c# code?

599


What is class method c#?

565






What does console readkey do in c#?

585


what is a enumeration in c#

657


What is public, private, protected, internal and internal protected?

602


What are generic types?

586


Explanation on Generic?

629


Can list contain duplicates c#?

567


Can a loop recorder detect a heart attack?

655


What are the variables in c#?

598


What can you do as a .net developer?

572


What is datareader c#?

577