What is CLS ?

 Language Specification: 

  •  Every programming Language will have some Syntactical rules used to write the code which is known as Language Specification
  • As we know that in managed code execution process .Net supports many programming languages
  • Every programming Language has its own Language Specification
  • One programming Language cannot understand the other programming Languages Language Specification
  • But CLR is able to execute all programming Languages code, this because
  • CLR cannot understand any programming language Language Specification rather CLR has its own Language Specification  (Syntactical  Rules) for its MSIL
  • Any Language Compiler should follow this Language Specification of CLR at the time of compilation and should generate MSIL, CLR’s JIT Compiler will generate native code from MSIL and  CLR will execute it
  • This Language Specification of CLR is common to all Programming Languages of Managed code execution of .NET and is known as CLS

No comments:

Post a Comment

Translate