While C# remains a statically typed language, we aim to vastly improve the interaction with such objects.
尽管C#依然是静态类型语言,但我们的目的是改善它与这些对象的交互。
As we described in the previous section, a statically typed language binds the type to a variable for the lifetime of that variable.
正如我们在前面的章节所描述的,一个静态类型的语言在一个变量的生命周期内都会绑定一个类型。
This is annoying in any language, but especially problematic for statically typed languages where one wants to map those unnamed types to actual classes.
无论在何种语言中这都是非常恼人的问题,但对于静态类型语言来说更是如此,因为开发者需要将这些无名类型映射到实际的类上。
应用推荐