.NET Framework :
Generally we know that .NET languages are platform independent and how do .NET applications get platform In-dependency ? we need to know that .
Here in this Scenario .NET Framework plays key role to manage complete code generated by the .NET Languages. Generally we call Platform In-dependency because our applications which were written in one platform should also be capable to execute in another platform, for this in-dependency Microsoft Provides a .NET Framework software which is responsible to convert the CIL Code to Machine Code, i.e.,the code generated from a .NET language gives CIL code, this code is a semi-finished code which can be mould to the platform on which we want our application to execute.
To convert the CIL Code to Machine Code one Intermediate software (.NET Framework) is required to be installed on the machine on which we want our application to be executed.
.NET FRAMEWORK SOFTWARE IS PLATFORM DEPENDENT
All the .NET languages CIL Code is under the control of .NET Framework, It provides the features like:
- Portability (Platform Independency)
- Automatic Memory Management.
In procedural languages like C,C++, etc.. the compiled code(Machine code) runs directly under the Operating System, But in the advanced languages like C#,J#,VB the intermediate software(.NET Framework) interference will exists so it doesn’t allow the application code to interact directly with Operating System so this type of code in terms of .NET we call it as Managed Code .
NOTE: The code which runs under the .NET Framework is known as managed code, as it provides features like portability,security,and automatic memory management, where as the code that runs directly under operating system is known as unmanaged code.