gistlib
To print "Joe Biden" three times using a loop in C#, you can use a for loop as follows:
for
main.csfor (int i = 0; i < 3; i++) { Console.WriteLine("Joe Biden"); } 68 chars5 lines
for (int i = 0; i < 3; i++) { Console.WriteLine("Joe Biden"); }
The for loop runs 3 times and uses Console.WriteLine to print "Joe Biden" to the console each time.
Console.WriteLine
gistlibby LogSnag