Link Details

Link 131245 thumbnail
User 278445 avatar

By Shaharyr
via dev102.com
Published: Nov 04 2008 / 12:42

One of the core features introduced in C# 4.0 is called Dynamic Lookup which allows a unified approach to invoking things dynamically. When you have an object of type dynamic you can do whatever you like with it, those operations are resolved only at runtime. I DON’T LIKE IT, ARE YOU KIDDING ME?
  • 13
  • 2
  • 1024
  • 339

Comments

Add your comment
User 259568 avatar

gtcc2009 replied ago:

1 votes Vote down Vote up Reply

Anything can be misused. But there are situations when such thing can make the solutions less painful while losing no further type-safety.

This post describes the benefits of dynamic lookup: http://www.buunguyen.net/blog/new-features-of-csharp-4.html

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.