As we have already mentioned, the program is a sequence of commands, otherwise said, it describes a sequence of calculations, evaluations, iterations and all kinds of similar operations, which aim to accomplish some kind of result.
The program is written in a text format, and the text of the program itself is called a source code. It gets compiled to an executable file (for example
Program.cs gets compiled to
Program.exe) or it it is executed directly from the .NET environment.