Monday, 4 December 2017

Difference between CTS and CLS in .Net?

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

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...