Recursion

This lesson introduces the concept of recursion and how it is implemented in C#

We'll cover the following

Introduction

Recursion can be defined as:

A method that calls itself until a specific condition is met.

Example

An excellent and simple example of recursion is a method that will get the factorial of a given number:

Get hands-on with 1400+ tech skills courses.