Identify the Appropriate Method of Handling Repetition

Practice Labs Module
Time
1 hour
Difficulty
Intermediate

The "Identify the Appropriate Method of Handling Repetition" module provides you with the instructions and devices to develop your hands on skills in the following topics: “For” loop, “While” loop, “Do….while” loop, Recursion.

Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

Introduction

The Identify the Appropriate Method of Handling Repetition module provides you with the instructions and devices to develop your hands on skills in the following topics.

  • “For” loop
  • “While” loop
  • “Do….while” loop
  • Recursion

Exercise 1 - Understanding Loops

In this exercise, you will learn to work with “for”, “while” and “do…while” loops in C# programs. Loops enable you to handle repetition in a program.

Exercise 2 - Understanding Recursion

In this task, we will learn how to use the recursive function in C# programs. A recursive function calls itself during the execution.

Learning Partner
Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.