What is CTS, CLS and CLR ?
Answer Posted / dinesh parmar
What is the CTS?
A set of common types
any language that runs in CLR should implement
no syntax specified
Languages often define aliases
For example
CTS defines System.Int32 – 4 byte integer
C# defines int as an alias of System.Int32
string -> System.String
object -> System.Object
What is the CLS?
A specification of language features
how methods may be called
when constructors are called
subset of the types in CTS are allowed
E.g. UInt32 is in CTS, but not in CLS
Non-CLS-compliant example
Code that takes UInt32 in a public method
Can mark classes as CLS-compliant
not marked is assumed to mean not compliant.
| Is This Answer Correct ? | 31 Yes | 18 No |
Post New Answer View All Answers
Define repository pattern in asp.net mvc? : asp.net mvc
explain code with multi inhertance
how to elimainte the similar data from the different tables
What is the purpose of url encoding?
What is http only cookie?
What is redirecting behavior?
Define msil.
What is mta?
What are the major built-in objects in ASP.NET?
Explain the working of passport authentication.
What is the flow of processing of the request? : asp.net mvc
Why is this service branded with windows livetm?
What are merge modules?
List some of the important session state modes of asp.net.
How you can access the values from the Repeater control in ASP.NET?