How the dynamic lookup work into C Sharp 4
November 18, 2008 – 3:31 pmHow the dynamic look-up work into C Sharp 4 C Sharp 4 add some nice dynamic features, dynamic lookup provide to you why to call and commnecate withe other languages and technoloy like: Python, Java Script, Ruby, COM, etc so easy use only one formal code style. dynamic keyword is a new keyword in C sharp 4 that Statically typed to be dynamic. In other word every operation will perform in any dynamic veriable will perform dynamicly in runtime. The method invocation resolved at runtime, also there are dunamic conversion to convert the dynamic result of the dynamic invocation. See this: In the code, I create a string, and instead of assigning it to a variable of type string, I assign it to a variable declared as dynamic. This basically instructs the compiler to not attempt to resolve any method call or member access of the declared variable. Instead, all these resolutions will ...