-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Swapnil_B1
Message 1 in Discussion

  
Folks, 
This Article describes the common language runtime's built-in support for 
language interoperability and explains the role that the CLS plays in enabling 
guaranteed cross-language interoperability. CLS features and rules are 
identified, and CLS compliance is discussed. 
Cross - Language Interoperability  
Language interoperability is the ability of code to interact with code that is 
written using a different programming language. Language interoperability can 
help maximize code reuse and, therefore, improve the efficiency of the 
development process.  
Because developers use a wide variety of tools and technologies, each of which 
might support different features and types, it has historically been difficult 
to ensure language interoperability. However, language compilers and tools that 
target the common language runtime benefit from the runtime's built-in support 
for language interoperability.  
The common language runtime provides the necessary foundation for language 
interoperability by specifying and enforcing a common type system and by 
providing metadata. Because all languages targeting the runtime follow the 
common type system rules for defining and using types, the usage of types is 
consistent across languages. Metadata enables language interoperability by 
defining a uniform mechanism for storing and retrieving information about 
types. Compilers store type information as metadata, and the common language 
runtime uses this information to provide services during execution; the runtime 
can manage the execution of Multilanguage applications because all type 
information is stored and retrieved in the same way, regardless of the language 
the code was written in.  
Managed code benefits from the runtime's support for language interoperability 
in the following ways:  
·                       Types can inherit implementation from other types, pass 
objects to another type's methods, and call methods defined on other types, 
regardless of the language the types are implemented in.  
·                       Debuggers, profilers, or other tools are required to 
understand only one environment—the Microsoft intermediate language (MSIL) and 
metadata for the common language runtime—and they can support any programming 
language that targets the runtime.  
·                       Exception handling is consistent across languages. Your 
code can throw an exception in one language and that exception can be caught 
and understood by an object written in another language.  
·                       To ensure that your managed code is accessible to 
developers using any programming language, the .NET Framework provides the 
Common Language Specification (CLS), which describes a fundamental set of 
language features and defines rules for how those features are used.  
Swapnil (Swaps)  
http://Swapsnet.spaces.live.com/ 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to