Thursday, May 20, 2010

Calling Dynamic languages from .NET 4.0

This is a cool new feature in .NET 4.0 courtesy of the Dynamic Language Runtime becoming a part of .NET 4.0. As you may know there is a new keyword "dynamic" in C# with .NET 4.0. Here's how you can use it to call python scripts from C#:

Title:Walkthrough: Creating and Using Dynamic Objects
http://msdn.microsoft.com/en-us/library/ee461504(VS.100).aspx


Awesome (cause I love python)!
PS: Any C#/Python programmer should definitely try out http://ironpython.net/
Enjoy!