How It supports Multiple Language ?
To understand this we have to know some concepts.
The first thing is MSIL. I have already explained what is MSIL.
For achieving this multiple language support, this plays very important role.
All the code which when compiled is converted into MSIL, what ever language we are using in dot net. when it is compiled, it is converted into MSIL. This MSIL is a low level language like assembler but it is object oriented.
CTS (Commen type system)
This is another important thing for multiple language support. It is the type system Built into CLR. It contains various types like int, Float, String etc.
And the operation of those types are made common.
CLS(Common Language Specification)
This is set of some specification, that each dot net language should follow. So if any language satisfies all the conditions of CLS, then that language can be use in dot net frame work.
This will ensure interoperability.
So if a language satisfies all the conditions in CLS, then that language can be used as dot net language.
The CLS is standardized by an organization called ECMA.
No comments:
Post a Comment