//####### #####
//# # # ##### # # #### # ##### # # #### ##### ###### #####
//# # # # # # # # # # # # # # # # # # #
//##### ## # # # # # # # # # # # # ##### # #
//# ## ##### # # # # # # # # # # # #####
//# # # # # # # # # # # # # # # # # # #
//####### # # # ###### # #### # # ##### #### ##### ###### # #
//***********************************************************************************************************************************
// Project : Over and over
// Solution : Entry level coding
// Project type : Console application
// Platform : Microsoft.NET 6.00
// Created with : Microsoft Visual Studio Community 2022 (64-bit) Version 17.0.6
// Created : 03/10/2022
// Created By : https://explicitcoder.com
//***********************************************************************************************************************************
// Instructions
// Select this project (Over and over) from the dropdown box next to the green arrow
// at the top of Visual studio and then click the green play button to start it.
// To stop the program you can either click the close button on the console window or click the red stop button.
//***********************************************************************************************************************************
// Description
// C# can loop the same code many times.
// The for next loop will loop as many times as you specify. In this program the loop will repeat while
// the counter index is less than 20. In each loop the index is incremented by one using the ++ increment operator.
//***********************************************************************************************************************************
//***********************************************************************************************************************************
// SEE THE WEBSITE FOR MORE INFORMATION https://explicitcoder.com/getting-started
//***********************************************************************************************************************************
namespace Over_and_over
{
class Program
{
static void Main() // The program starts here. Main is the first method called when you run the program.
{
// It is standard practice to start loops at zero but it can start from any number less than the maximum condition (< 20).
// In this example the index value will start at zero and will increment by one on every cycle until it is no longer less than 20 and the looping will finish.
// If you wanted to show the numbers from 1 through 20 then you could change the start condition to 1 and the maximum condition to < 21.
for (int index = 0; index < 20; index++)
{
// Everything inside the loop is repeated 20 times.
Console.WriteLine(index);
}
// Without this line the program will end before you have time to see it.
Console.ReadLine();
}
}
}