explain the technique of fusing loop in c#. give an example
Loops will be used to execute the set of statements repetedly untill the condition is true
Like iterating thorugh arrays and strings we can do it with loops
using System;
class HelloWorld {
static void Main() {
// now we are executing the statemetns 5 times
for(int i=0;i<5;i++)
Console.WriteLine("Hello World");
}
}
NOTE : PLEASE COMMENT BELOW IF YOU HAVE CONCERNS.
I AM HERE TO HELP YOUIF YOU LIKE MY ANSWER PLEASE RATE AND HELP ME IT IS VERY IMP FOR ME
Get Answers For Free
Most questions answered within 1 hours.