What is Common Language Specification (CLS)?
Experience Level: Senior
Tags: .NET
Answer
Common Language Specification (CLS) is used for Language Interoperability in tandem with Common Type Specification (CTS) to ensure the interoperability of the languages.
It defines a set of rules and restrictions that every language must follow which runs under .NET framework. The languages which follow these set of rules are said to be CLS Compliant.
Related .NET job interview questions
How to invoke Garbage Collector programmatically?
.NET SeniorWhat is the Garbage Collector in .NET Framework?
.NET MediorWhat is common Type System (CTS)?
.NET SeniorWhat is Common Language Runtime (CLR)?
.NET Not definedWhat is MSIL?
.NET Junior