Cross-Language Interoperability
In most programming environments, code written in one language can communicate with code written in another language only if established binary standards are followed. For example, you could write a COM DLL in C++, create an instance of it, and call methods on it from a component written in Visual Basic. Your ability to do so is possible, however, only because both pieces of code follow the COM binary standard. The downside of this type of interaction is that these two separate components can't share functionality via simple inheritance. With the .NET Framework, you can write classes in two different languages that fully interact with each other. For instance, an object written in C# can call methods and properties ...
Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.