Thursday 17 October 2013

C# and the Dynamic Language Runtime(DLR)



  • A dynamic language is allowed to modify code and modify type at runtime.

  • Python, JS and Ruby does not have traditional Compiler for type checking but will check types at runtime












Demo of Dynamic Language


Without dynamic approach:

 

 

 

 

 

With dynamic approach:

 

 

 

 

 

 

 










Demo of Excel automation with Dynamic keyword










Demo of Expando Dynamic object















































Calling from Ruby to C#







Calling from C# to Python





 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No comments:

Post a Comment