
Lesson Objective: Understand what the course is about
Lesson Objective: Create a for loop to print 1,2,3,4,5
Lesson Objective: Create a for loop to print 5,4,3,2,1
Lesson Objective: Create a loop to print 11,9,7,5,3,1
Lesson Objective: Create a loop to print the cubes of 3,2,1
Lesson Objective: Fill an array and print the values with a for loop
Lesson Objective: Print the word "live" in reversed order as "evil"
Lesson Objectives: Summarize the uses of for loops
Lesson Objective: Create and run a while loop to print 1,2,3,4,5
Lesson Objective: Use a while loop to print 5,4,3,2,1
Lesson Objective: Create a while loop to print 12,9,6,3,0
Lesson Objective: Create a loop to print the entries inside an array
Lesson Objective: Create a loop that can collect input until a user wants to stop
Lesson Objective: Summarize while loops
Lesson Objective: Use a foreach loop to check the characters in a string
Lesson Objectives: Understand how to check array entries with foreach loops
Lesson Objective: Print the entries inside an array of arrays
Lesson Objectives: Add up the values in a 2 by 3 array
Lesson Objective: Summary of foreach loops
Lesson Objective: Print 1,2,3,4,5 with a do/while loop
Lesson Objective: Fill and print an array with for/foreach loops
Lesson Objective: Learn how to modify a loop index variable and still make it work with arrays
Lesson Objective: Write code to display an array in reverse order with a for loop
Added a "Fill-In-The-Blank" test on for loops. 5/17/2024.
Added a "Fill-In-Blank" test on while loops. 5/19/2024.
Added a Quiz on when to use each type of loop and so on. (5/20/2024)
To be a real programmer, you must know loops. This course gives an introduction to the most common loops: for, while, do while and foreach. Loops allow us to perform an action repeatedly without having to write a great amount of code. Loops do have a reputation as being a stumbling block for many aspiring programmers. This course is designed to introduce to loops in the most understandable way the author has been able to come up with. The concepts presented in this course carry over to other languages like Java, C++, C, Python and so on. Each lesson is an HD video with heavily commented code. I explain both the "why" and "how" of loops. The "why" part corresponds to understanding how to translate a given requirement into C# code. The "how" part walks you through the execution of a loop, step by step because respecting each step is required for total understanding. You can also access a PDF version of the code under lesson resources. It's best if you have already worked with C# to the extent of having made simple C# console programs. The code presented deals only with console programs, and not graphical windows. Thanks for reading, friends, and let's dive right in!