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

New Message on BDOTNET

-----------------------------------------------------------
From: Mahesh ChandraMouli
Message 2 in Discussion

Hi Nithin,

COM is all about interoperation among languages. The CLR is about not caring which 
language you're using by making it easier to write components and applications with 
any language. It does this by defining a standard set of types that must be supported 
by each member language and providing a common execution environment. The CTS is about 
integration between languages -- one language using another language's objects as if 
they are its own. Each language using the CLR and part of the .NET framework must use 
the CTS to map the language's unique types to a common set of types defined by the 
CLR. This allows true integration between languages. 

For example, say I invent my own language called .Mahesh. I want to make .Mahesh a 
.NET language, so I have to map all my types to the supported CLR types, objects, and 
interfaces. I can choose to call a .Mahesh string "cool runnings," but it will have to 
map to CLR's string type under the covers. This lets a VB.NET class inherit my .Mahesh 
classes and use them in VB.NET applications.


The benefits of the common type system:

Language interoperability: 
Since all .Net languages are using a single type system, you are assured that objects 
and types are created in different languages can interact with one another in a 
seamless manner. It's the CTS/CLS combination that helps make language 
interoperability more than just a programmer's dream. 

Singly rooted object hierarchy: 
A singly rooted object hierarchy is the key to a unified type system because it 
guarantees that each object in the hierarchy has a common interface and therefore 
everything in the hierarchy will ultimately be of the same base type. 

Type safety:
Type safety guarantees that types are declared safely and there is no way to trick the 
system to think that one type is actually another and only appropriate functions can 
be preformed on a particular object. 

If you for looking for more information 

Check this url

http://www.informit.com/isapi/product_id~%7B9DF6376A-23B4-4F31-B7EC-CEA27AC57999%7D/st~%7B9508C006-DD59-4F5D-8316-0AFDB0EA806C%7D/content/index.asp


Regards
Mahesh ChandraMouli
Wipro Technologies, Bangalore.


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

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_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