
150 Chapter 4 • Common Language Runtime
Now, all the code that runs within the CLR is called managed code, and it is
this concept that allows for true language interoperability. Okay, so what does this
all mean already? Take our earlier scenario where a C++ coder wanted to use the
capabilities of a pre-existing Visual Basic component.We have noted that it wasn’t
a simple matter of setting a reference and then being able to use the component.
Under .NET, all the languages producing managed code can interoperate with
one another. For example, you write a class in Visual Basic that a C++ coder can
then inherit in his own class. Say a C# programmer on y ...