Appendix A. Writing Code for Cross-Language Interoperability

IN THIS APPENDIX

With .NET, you have the ability to create components in one language that can then be consumed by applications written in another language. This is nothing particularly new, because COM enabled you to write COM components in VB and call them from C++ applications, and vice versa. However, .NET gives you the ability to perform such actions as inheriting a VB .NET component in a C# application, or having your VB .NET application inherit a COBOL .NET component that is inheriting from a J#.NET component.

This level of interoperability is far beyond what COM gave you, but it doesn't come without its own set of rules. The rules can be broken ...

Get A Programmer's Introduction to Visual Basic® .NET 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.