Loops
Lecture
Brian Gorman
Beginner
0 h 51 m
2020-09-04
Lecture Overview
In this lab demo you will learn about the different types of loops available to use in C#. You will learn how to work with each loop type, including the **do..while**, **while**, and **for** loops. You will also learn when each of these loop types is appropriate. Additionally, you will learn about the basic structures and requirements of any loop. Finally, you'll learn about two advanced computer science topics, Big-O Notation and Recursion.

Related Learning Path(s):
Programming Fundamentals with C#
Objectives
  • By the end of the course, students will know how to write code that uses various types of loops, and have a solid understanding of the different aspects of writing loops, including start, check, and end conditions for loops. The student will also gain exposure to recursion.
Pre-Requisites
  • Basic computer skills
  • Problem solving skills
  • Ability to think and reason logically
  • Hello World Lab
  • Introduction to Types Lab
  • Methods, Libraries, NuGet, and Debugging Lab
  • Boolean Logic and Decision Statements Lab
Lecture Modules
In this video, you will meet author Brian Gorman as he gives an overview of what will be covered in this series of demo videos.

In this demo you will discover the goals for this lab, and get an introduction to working with loops as a programmer

In this demo, you will learn about how and when to use the do..while loop in C#.
In this demo, you will learn about while loops and see how and when the while loop is a good choice.
In this demo, you will  see how for loops are used, and gain a solid understanding of when to use them.
In this demo, you will learn how to use recursion in your programs to call a method from within the same method as a form of looping.
Try Risk Free

Start a free trial

Skill Me Up subscriptions include unlimited access to on-demand courses with live lab lab environments with our Real Time Labs feature for hands-on lab access.

Subscription Benefits
  • Access to Real Time Lab environments and lab guides
  • Course Completion Certificates when you pass assessments
  • MUCH MORE!