Debasish Ghosh advocates for using this kind of solutions rather than trying to achieve dynamic type checking.
DebasishGhosh提倡使用这种解决方法,而不是试图实现动态类型检查。
In cases where dynamic typing is more convenient, the dynamic type can be used, enabling arbitrary access to properties and methods on dynamic variables.
有些情况下,动态类型更方便,我们可以使用Dynamic类型,从而可以对Dynamic变量的属性和方法进行任意地访问。
Echoing at a discussion on dynamic vs. static languages, Debasish Ghosh raises the issue of using dynamic type-checking while programming with static languages.
DebasishGhosh对一场动态VS .静态语言的讨论做出了回应,提出了用静态语言编程时动态类型检查的使用问题。
This version allows scripters to take advantage of the new dynamic type, the push-based IObservable interface, the Tuple class, among the many new features in C# 4.0.
凭借该版本,脚本编写者可以利用新的动态类型、基于推模式的IObservable接口、Tuple类以及C# 4.0中的众多新特性。
Adds a new constructor to the dynamic type.
向动态类型中添加新的构造函数。
The dynamic type of an rvalue expression is its static type.
一个右值表达式的动态类型,就是它的静态类型。
The shifting point data of economic and dynamic type under fixed shifting strategy are obtained.
得出了在固定换档策略下经济型与动力型的换档点数据。
Ice storage system is classified into two types, static and dynamic type, by method of forming ice.
常见的冰蓄冷方式根据制冰方式的不同主要分为静态制冰和动态制冰。
A prvalue cannot be polymorphic: the dynamic type of the object it identifies is always the type of the expression.
纯右值是传统右值的一部分,纯右值是表达式产生的中间值,不能取地址。
The dynamic type of an object (as opposed to a reference or pointer) is always the same as the static type of the object.
对象的动态类型总是与静态类型相同,这一点与引用或指针相反。
If the function is virtual and the call is through a reference or pointer, then the compiler generates code to determine which version to run based on the dynamic type of the object.
如果函数是虚函数,并且调用是通过引用或者指针,编译器基于动态类型生成代码确定调用哪个版本。
These operators return dynamic type information only for classes with one or more virtual functions. For all other types, information for the static (i. e. , compile-time) type is returned.
这些操作符只为带有一个或多个虚函数的类返回动态类型信息,对于其他类型,返回静态(即编译时)类型的信息。
Dynamic type extension - methods can be added dynamically to classes and objects.
动态类型扩展——可以用动态的方式向类和对象加入方法。
Dynamic type extension - methods can be added dynamically to classes and objects.
动态类型扩展——可以用动态的方式向类和对象加入方法。
应用推荐