Dynamic Type in C# 4.0: Explained in Three Lines of Code

added by evann
5/25/2010 4:56:08 AM

2 Kicks, 90 Views

If you’re comfortable with javascript, python, ruby, or any other dynamically typed programming language for that matter, the new dynamic type in C# 4.0 shouldn’t be too much trouble to understand. In fact, I think I can sum it all up in three lines of code. But, dare I ask: why?