Chapter 18. Dynamic Types and the Dynamic Language Runtime

.NET 4.0 introduces a new concept to the VB 2010 language, specifically, dynamic typing. This allows you to incorporate scripting like behaviors into the strongly typed world of VB 2010. Using this loose typing, you can greatly simplify some complex coding tasks and also gain the ability to interoperate with a number of dynamic languages (such as IronRuby or IronPython) which are .NET savvy.

In this chapter, you will learn all about the dynamic typing, and understand how loosely typed calls are mapped to the correct in memory object using the Dynamic Language Runtime (or, DLR). Once you understand the services provided by the DLR, you will see examples of using dynamic types to streamline ...

Get Pro VB 2010 and the .NET 4 Platform 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.