What is CLS?

Answer Posted / lokendra khandelwal

common language specification defines the common types that
are supported by the languages which are compatible with the
.net framework. For example if u develop a webservice with
functions which are accepting unsigned integer values as
parameter and u want to use that service in a language that
won't supports unsigned integers then u will get a problem
.So the languages which wants to be compatable with .net
must support the types that are specified by CLS.

CTS is the service which is used by the CLR to manage the
code.CTS can express the semantics of any programming
language. CTS defines a standard set of types and rules to
create new types.The runtime understands how to create and
execute these types.Compilers and interpreters use the
runtime(CLR) services like CTS to define types,manage
objects and make method calls instead of using tool or
language specific methods.CTS goal is to enable multi
language integration

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use a Master Database in Asp.net?

572


Less than one page, how many windows will you be able to maintain?

576


How is application management and maintenance improved in asp.net 2.0?

544


What is a web pool?

592


Explain the steps to be followed to use passport authentication.

600






What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

546


Explain a program using code nuggets to create a simple application? : asp.net mvc

517


Explain the advantages of caching?

539


How to Insert/Add in ASPXgridview

579


Explain the asp.net session state modes.

622


What are triggers of an updatepanel?

557


What threading model used in asp and asp.net?

578


What is a user session?

505


What are the asp.net security controls?

562


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

582