.NET Platform
There are three basic entities that make up .NET Platform:
CTS (Common Type System)
CTS specifies all possible data type and programming constructs supported by .NET Runtime, how they interact each other as well as how they are represented in .NET metadata format.
CLS (Common Language Specification)
CLS specifies type system and programming constructs that is agreed by all languages in .NET. So, if we have new language run on .NET runtime and there is programming constructs that are not compliant with CLS then the language won’t be able to interact with other languages in .NET.
Difference between Managed and Unmanaged Code
Managed code refers to code whose execution is managed by .NET runtime. While unmanaged code is code that cannot be executed directly by .NET runtime.
How to Check the Highest Version of .NET SDK Installed in Our Machine
dotnet --version
How to display all installed .NET SDKs in our machine
dotnet --list-sdks
How to display all installed .NET runtimes in Our Machine
dotnet --list-runtimes
How to display complete information about .NET in our machine
dotnet --info
Above command will display all information about .NET:
- latest SDK installed
- runtime environment
- global.json file
- the host
- all .NET SDKs installed
- all .NET runtimes installed