What is CLS?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What is the life-span of the items in the viewstate?
What is Model-View-View Model?
What are the contents of cookie?
What is a 307 redirect?
What is the difference between file-based dependency and key-based dependency?
When would you set this property to false?
What is session and cookies in asp.net?
what is shared assembly?
SessionState - type of sessionstate and when and how to use it
How does u get record no from 5 to 15 from a dataset of 100 records?
What does asp in asp.net stand for?
How to disable validator control by client side JavaScript?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)