What is CLS (Common Language Specification) in .NET?
It is said that programmer can choose language of his choice for programming on .NET Framework. Have you ever think how it is possible?
.
Here is answer.
.
CLS is just nothing but guideline developed by Microsoft which must be followed by language if that language want to provide programming on .NET Framework.
.
For example I have developed one language!
.
And I decide that my language should provide facility to programming on .NET Framework.
.
So I have to develop compiler for my language which translate source code to IL code or .NET Managed code.
.
And at the time of developing such compiler I have to follow CLS.
.
That's what CLS is just.