Common Language Specification

Definition & Meaning

CLS meaning

Last updated 23 month ago

What is Common Language Specification (CLS)?

What does CLS stand for?

The Common Language Specification (CLS) is a fundamental set of language features supported with the aid of the Common Language Runtime (CLR) of the .NET Framework. CLS is part of the specs of the .NET Framework. CLS became designed to aid language Constructs generally used by Builders and to provide verifiable Code, which permits all CLS-compliant languages to ensure the kind protection of code. CLS consists of features not unusual to many item-orientated Programming Languages. It bureaucracy a subset of the capability of not unusual kind sySTEM (CTS) and has Greater rules than defined in CTS.

What Does Common Language Specification Mean?

CLS defines the base policies essential for any language focused on commonplace language infrastructure to interoperate with other CLS-compliant languages. For Instance, a Method with Parameter of "unsigned int" type in an item written in C# isn't CLS-compliant, simply as some languages, like VB.NET, do no longer support that type.

CLS represents the suggestions to the Compiler of a language, which targets the .NET Framework. CLS-compliant code is the code exposed and expressed in CLS shape. Even although diverse .NET languages vary in their syntactic policies, their Compilers generate the Common Intermediate Language Commands, which might be carried out by CLR. Hence, CLS permits flexibility in using non-compliant sorts in the Internal Implementation of additives with CLS-compliant requirements. Thus, CLS acts as a Device for integrating Exceptional languages into one umbrella in a seamless way.

Share Common Language Specification article on social networks

Your Score to Common Language Specification article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Common Language Specification

1704- V4

tech-term.com© 2023 All rights reserved