Debugging Multi-Language Programs

A very cool feature of .NET is the multi-language capability. I still hear discussions about which language is better, but I just don't think it matters that much any more. I don't know anyone (or any company) developing one application with language heterogeneity—for example, VB .NET and C#—in the same application, but you can do it. I have to be careful here because I haven't written an enterprise application that tests this presumption, but I have implemented Visual Basic .NET classes that inherit from C# classes and vice versa and traced through the source code in the debugger. Everything seemed to work fine. I have included a sample application in Listing 17.12 for you to play with; it is worth the “cool ...

Get Visual Basic® .NET Power Coding 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.