What is CLS?

Answers were Sorted based on User's Feedback



What is CLS?..

Answer / satyambabu

CLS(Common Language Specification)Defines the rules and
standards
to which language must adhere to in order to be compatible
with other .net languages .this enables C# developers to
inherit from classes defined in vb.net or other compatible
languages,

Is This Answer Correct ?    16 Yes 3 No

What is CLS?..

Answer / deepak kumar

ClS stands for Common Language Specification is a set of
common rules contained by Common Language Runtime.CLS
allows a programming language to be a .NET complaint
programming language that follows it's rule.CTS(Common Type
System) is one of the specification of CLS,that allows
a .NET compliant languages to declare and manage thier data
types.

Is This Answer Correct ?    3 Yes 1 No

What is CLS?..

Answer / satish v itagi

The way language compilers handle types with regard to the
bytes occupied, sign-bit handling, storage place (register,
far or near) are almost proprietory of that language. When
more than one language comes to a single platform ( for eg.
DotNet) where a Intermediate Language code is compiled
based on the input language and executable code is compiled
just in time, these proprietory has to adjusted to the most
common practices amongst all participating languages. This
eliminates certain strong and professional handling of
types by individual language compilers but makes language
platform independent that is run by Common Language RunTime
(CLR) like executors.

Is This Answer Correct ?    3 Yes 2 No

What is CLS?..

Answer / 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

What is CLS?..

Answer / lokendra khandelwal

The way language compilers handle types with regard to the
bytes occupied, sign-bit handling, storage place (register,
far or near) are almost proprietory of that language. When
more than one language comes to a single platform ( for eg.
DotNet) where a Intermediate Language code is compiled based
on the input language and executable code is compiled just
in time, these proprietory has to adjusted to the most
common practices amongst all participating languages. This
eliminates certain strong and professional handling of types
by individual language compilers but makes language platform
independent that is run by Common Language RunTime (CLR)
like executors.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Explain how viewstate is being formed?

0 Answers  


What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError

1 Answers   Syntax Softtech,


Is There any Third party tools are using in .Net Technologies? Can u Explain?

4 Answers   HCL,


How use Xml data in ASP.net?

0 Answers   MCN Solutions,


what is Satellite Assembly?

2 Answers  






What is paging in context of Memory?

0 Answers   Microsoft,


Usage of web.config?

2 Answers   Microsoft,


How you will handle session when deploying application in more than a server?

0 Answers  


How can you access the properties and controls of master pages from content pages?

0 Answers  


How can you pass multiple complex types in Web API?

0 Answers  


What is simple data binding?

0 Answers  


I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?

0 Answers   Patni,


Categories