Does C# use COM/DCOM "under the hood" ?

M

MrAsm

Hi,

I'd like to know if C# object system is based on COM/DCOM, or is it a
completely new technology, developed "from scratch"?

In other words, does C# use COM "under the hood", or are C#/.NET and
COM/DCOM completely separate fields?

Thanks in advance,
MrAsm
 
M

Marc Gravell

No, C# (nor CLR) objects are not based on [D]COM. They are entirely
separate; CLR objects are managed, garbage-collected, etc; COM is
reference counted. Most CLR languauges can invoke COM via interop, and
likewise CLR objects can be exposed as COM servers through the reverse
process (see: "tlbimp" and "tlbexp"), but they are fundamentally very
different.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top