我不太得到什么,这将让我做(或逃脱:)
I don't quite get what it's going to let me do (or get away with :)
这两个大的领域是:
与COM组件,其中方法返回模糊类型的工作 - 所以你基本上可以使用后期绑定 在与德国航空航天中心的工作类型其他用途包括了诸如:
鸭打字那里没有接口 在Silverlight的谈话到主机页面的DOM 在谈论到一个XML文件中。在C#本身,这使得一些事情,比如一个基本方法的通用操作:
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)