When programming it is essential to organize and structure your code, otherwise it will become unwieldy to work with.
c# offer a number of ways to structure and and organize our code using:
Methods are used for storing blocks of codes and each method is designed to perform a specific task (aka function).
Methods, in turn, are stored in “classes”. These classes class can store one or more methods.
Classes in turn are stored in “namespaces”. You can think of Namespaces as a bit like folders on a windows machine. That means that namespaces have tree structures where a namespace can house classes as well as other lower-level namespaces. As a result we have the following hierarchy:
namespaces => classes => methods
One of the key strength of c# is that it has