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

Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

568


What are the 3 levels at which content pages can be attached to Master Page?

577


What are the main differences between asp and asp.net?

520


How do you identify that the page is postback?

537


What are the different types of sessions in asp.net? Name them?

674






If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

598


How many types of cache are there?

526


What can you do with asp.net?

510


What is GAC in ASP.NET 2.0

585


How can we use Web API with ASP.NET Web Form?

644


What is Cookies Less Session?

610


What are query strings used for?

529


What is marshalling ? Is it a part of asp.net ?

614


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

523


What is the use of execute non query in asp.net?

483