Hour 21. Dynamic Types and Language Interoperability

In Hour 1, “The .NET Framework and C#,” you learned that the fourth primary component of the .NET Framework is the dynamic language runtime, or DLR. The DLR is built on top of the common language runtime (CLR) and provides the language services for dynamic languages such as IronRuby and IronPython. Although the C# language has always allowed you to write code that would interact with dynamic languages—for example, calling a method defined in a JavaScript object—the syntax necessary to do so was far from simple. That syntax also changed depending on the particular ...

Get Sams Teach Yourself Visual C#® 2010 in 24 Hours now with O’Reilly online learning.

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