KEMBAR78
What is CLS in .NET programming. | PPTX
CLS in .NET
Learn CLS(Common Language
Specification) with an example.
CLS stands for Common Language
Specification.
It is set of rules that every language must
follow which runs under .NET framework.
When it follows the rules it will ensure
that code can be consume in any .Net
compiled language
For example:-
we cannot have members with
same name with case difference
i.e. add() and Add() methods. It can
work easily in C# as it is case-
sensitive but it is not possible in
VB.NET because it not cas-
sensitive.

What is CLS in .NET programming.

  • 1.
    CLS in .NET LearnCLS(Common Language Specification) with an example.
  • 2.
    CLS stands forCommon Language Specification. It is set of rules that every language must follow which runs under .NET framework. When it follows the rules it will ensure that code can be consume in any .Net compiled language
  • 3.
    For example:- we cannothave members with same name with case difference i.e. add() and Add() methods. It can work easily in C# as it is case- sensitive but it is not possible in VB.NET because it not cas- sensitive.