Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
I haven't used it yet, but came across this implementation of "VISITOR" design pattern using "dynamic" in c#.  In fact, this is one of the cool language features that may have many applications which may not have been explored yet because of the static nature of c#.  But dynamic will change that.  Once caveat would be dynamic has a cost and its proper usage should always be evaluated.

http://code.logos.com/blog/2010/03/the_visitor_pattern_and_dynamic_in_c_4.html

Hope you find this useful.
Rajesh Pillai, Jan 06, 2011
Reply 2
Not for a pattern but here's a usage for the dynamic keyword http://kozmic.pl/2010/12/15/c-dynamic-and-generics-dispatch/

Robert Blixt, Dec 15, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas