Reputation: 24372
I don't quite get what it's going to let me do (or get away with :)
Upvotes: 11
Views: 642
Reputation: 29879
There are some podcasts about the feature itself and how it can be used:
Upvotes: 0
Reputation: 1062502
The two big areas are:
Other uses include things like:
In C# itself, this allows a few things, such as a basic approach to generic operators:
static T Add<T>(T arg1, T arg2) { // doesn't work in CTP
return ((dynamic)arg1) + ((dynamic)arg2);
}
(of course, I'd argue that this is a better (more efficient) answer to this)
Upvotes: 5
Reputation: 44909
From Charlie Calvert's blog:
Useful Scenarios
There are three primary scenarios that will be enabled by the new support for dynamic lookup:
- Office automation and other COM Interop scenarios
- Consuming types written in dynamic languages
- Enhanced support for reflection
Read more here: http://blogs.msdn.com/charlie/archive/2008/01/25/future-focus.aspx
Upvotes: 5