Question - Explain how code gets compiled in C#?
Answer -
It takes 4 steps to get a code to get compiled in C#. Below are the steps:
- First, compile the source code in the managed code compatible with the C# compiler.
- Second, combine the above newly created code into assemblies.
- Third, load the CLR.
- Last, execute the assembly by CLR to generate the output.