C# compiler
The C# compiler compiles the C# source code into the
module, which is finally converted into the assembly. The assembly
contains the Intermediate Language (IL) code along with the
metadata information about the assembly.
The common language runtime (CLR) works with the
assembly. It loads the assembly and converts it into the native code to
execute the assembly.
Then this native code is executed by the Operating
system and the output will shows according to your requirement.
C# parser
A parser is a compiler
or interpreter component that breaks data into smaller elements for easy
translation into another language. A parser takes input in the form of a
sequence of tokens or program instructions and usually builds a data structure
in the form of a parse tree or an abstract syntax tree.