Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 

YOU ARE HERE: HOME Questions What does it mean exactly not CLS compliant And what implications does it have on your code



CLS (Common Language Specification) compliant

View(s): 10660

What does it mean exactly “not CLS compliant”? And what implications does it have on your code?

Answer 1)

The CLS (Common Language Specification) lays the groundwork for a common set of rules for compliance that guarantees that other languages (VB.NET, F#, etc.) can use assemblies that you have built with C#. 

Here is an example that is easier to understand:

class Foo
{
    public void Bar() { }
    public void bar() { }
}


This type would not be CLS compliant since it contains two members that differ in name only by type. How would someone using VB.NET disambiguate between Bar and bar since the VB.NET compiler is not case-sensitive?

So basically the CLS is a bunch of rules like this to guarantee interoperability between languages.

  Asked in:  SemanticSpace Technologies   Expertise Level:  Intermediate
  Last updated on Monday, 30 January 2012
5/5 stars (1 vote(s))

Register Login Ask Us Write to Us Help