Appendix A. Interoperating with Dynamic Languages

After completing this chapter, you will be able to:

  • Explain the purpose of the Dynamic Language Runtime.

  • Use the dynamic keyword to reference objects implemented by using dynamic languages, and invoke methods on these objects.

Interoperability between code written by using managed languages has been a key feature of the Microsoft .NET Framework ever since its inception. The idea is that you can build a component using the language of your choice, compile it into an assembly, reference the assembly from your application, and then access the component from code in your application. Your application might be built by using a different language from the component, but this does not matter. The compilers ...

Get Microsoft® Visual C#® 2010 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.