What is CLR (Common Language Runtime)?

CLR is a part of .NET Framework which manages the execution of several supported .NET languages, allowing them to share Common Object-Oriented Classes. CLR is somewhat comparable to Java Virtual Machine. Microsoft refers to its Common Language Runtime as “Managed Execution Environment“. CLR held responsible for these important activities: Garbage Collection: CLR automatically manages memory, thus eliminating … Read moreWhat is CLR (Common Language Runtime)?

What is Native Image Generator (Ngen.exe) and how does it work?

Ngen.exe (Native Image Generator) is a tool that creates native images, which are files containing compiled Processor-Specific machine code, and installs them into the native image cache on the local computer. It’s a tool that improves the performance of managed applications. In other words, rather than compiling the code dynamically using JIT on runtime, a … Read moreWhat is Native Image Generator (Ngen.exe) and how does it work?