Introduction

This lesson introduces methods and explains how to declare them using example

What is a method?

Functions declared inside a struct or class are called methods.

A method encapsulates a block of code that can be called from other parts of the program.

The use of methods in C# increases code reusability. Literally, you can tag a particular section of code with a name (method name) and ...