Just like CLR (common language runtime), CLS is Common language specification and CTS is Common type specification. First you need to understand that compilation in .NET is a two step process. 1. Compilation of source code to Microsoft Intermediate Language (IL) 2. Compilation of IL to native code or platform specific code by the CLR. The CTS defines the pre-defined datatypes that are available in IL. All .NET languages (C#, J#, VB.NET..) will produce compiled code that is based on these types. The CLS is a language specification or set of standards that all .Net language compilers must support. Hope this is helpful, Kishori
1 answers
Just like CLR (common language runtime), CLS is Common language specification and CTS is Common type specification.
First you need to understand that compilation in .NET is a two step process.
1. Compilation of source code to Microsoft Intermediate Language (IL)
2. Compilation of IL to native code or platform specific code by the CLR.
The CTS defines the pre-defined datatypes that are available in IL. All .NET languages (C#, J#, VB.NET..) will produce compiled code that is based on these types.
The CLS is a language specification or set of standards that all .Net language compilers must support.
Hope this is helpful,
Kishori
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!