Question: Difference between CTS
and CLS?
Answer:
CTS
|
CLS
|
CTS stands for Common Type System
|
CLS stands for Common Language Specification
|
It describes how data types are declared in different language and provides cross-language integration,type safety and high performance.
|
It describes the rules to support
language integration in such a way that programs written in any language can interact with one another.
|
Example: In c#, we will declare int i;
In vb, we will declare dim i as integer |
Example: A class written in C# can
inherit from a class written in VB.
|
CTS is a superset of the CLS
|
CLS is a subset of the CTS
|
No comments:
Post a Comment