This gives the expressiveness of duck-typing with the safety of static type-checking.
这既给予了动态类型的表达能力又保留了静态类型检查的安全。
Type: Gets the static type of the expression. In this case, the expression is of type Func<int, int, int>.
Type:得到表达式的静态类型,在本例中,表达式的类型是Func<int, int, int>。
The runtime type of the contained Pane will often be a subtype of class Pane, but the static type is simply Pane.
被包含的Pane的运行时类型通常会是类Pane的子类型,但是静态类型就只是Pane。
If you want a language with static type-checking, you really need to design it in from the start: it drastically affects the design of the language.
如果想要具有静态类型检查的语言,那么的确需要从一开始就把它设计到语言中:它极大地影响着语言的设计。
Its primary purpose is to produce LINQ-compatible object models from XSD files, giving developers some measure of static type checking while accessing XML data.
它的主要目标是从xsd文件中生成兼容LINQ的对象模型,让开发人员在访问XML数据的时候可以进行一定的静态类型检查。
He would have liked stronger static type checking of template arguments.
他本来想要更强的模板参数的静态类型检验。
The proposed integrity information flow mechanism can be efficiently implemented by static type checking.
所建立的完整性信息流控制机制可通过静态类型检验高效实现。
Regardless of the object's actual type, the type of the exception object matches the static type of the pointer.
无论对象的实际类型是什么,异常对象的类型都与指针的静态类型相匹配。
The dynamic type of an object (as opposed to a reference or pointer) is always the same as the static type of the object.
对象的动态类型总是与静态类型相同,这一点与引用或指针相反。
Easier refactoring and code modifications, because you do not have to change static type declarations throughout the code.
更容易进行重构和修改程序码,因为您不必变更整个程序码中的静态型别宣告。
The secondary treating water from urban domestic sewage treatment plant was treated by fine membrane with the way of periodic counter-flow static type.
本研究对城市生活污水处理厂二次处理水,采用周期逆洗型静态过滤方式进行了精密膜过滤。
Syntax highlighting for all the syntax, plus different warnings for types not recognized, or when static type information is not known to help spot potential errors.
对于所有的语法都可以语法高亮,对于未识别的类型加不同的警告。
This method is intended to be used in scenarios where the user does not have full metadata, including the static type information for both ends of the relationship.
此方法旨在用于用户没有全部元数据的情况,包括关系两端的静态类型信息。
Anti - static type material box + stainless steel frame frame; (advantage: beautiful appearance, light weight, strong, durable), material box with safety induction device.
防静电型料框+不锈钢支架边框;(优点:外形美观,重量轻,结实,耐用),料盒加装安全感应装置。
Increasingly, objects are "dynamic" in the sense that their structure and behavior is not captured by a static type, or at least not one that the compiler knows about when compiling your program.
对象的意义变得越来越“动态”,它们的结构和行为无法通过静态类型来捕获,或者至少编译器在编译程序时无法得知对象的结构和行为。
On the downside, multiple interfaces incur a loss of static type safety because interfaces are selected only at runtime, which makes the system more vulnerable to latent bugs that can escape testing.
多接口的缺点是,它招致了静态类型安全性的损失,因为接口只在运行时被选择,这使得系统更容易受到潜伏错误的伤害,即那些逃过测试的错误。
Static type checking will prevent non-Strings from being passed to this method.
静态类型检查会防止把非string对象传递给这个方法。
Static type checking will prevent non-Strings from being passed to this method.
静态类型检查会防止把非string对象传递给这个方法。
应用推荐