Extension methods , which make it possible to extend existing types and constructed types with additional methods 扩展函数,使得扩展现有的类型和构造类型使用额外的函数成为可能。
Any number of constructed type instances can be created , each one using a different type argument , as follows 可以创建任意数目的构造类型实例,每个实例使用不同的类型参数,如下所示:
Client code must declare and instantiate a constructed type by specifying a type argument inside the angle brackets ,客户端代码必须通过指定尖括号中的类型参数来声明和实例化构造类型。
For constructed types in j based on generic types , constraints are checked at the creation of the constructed type 对于j #中基于泛型类型的构造类型,在创建构造类型时会检查约束。如果存在从
When you create a constructed type from a generic programming element , you supply a defined type for each type parameter 根据泛型编程元素创建构造类型时,应为每个类型参数提供一个已定义的类型。
Substitutes the elements of an array of types for the type parameters of the current generic type definition , and returns a 用类型数组的元素替代当前泛型类型定义的类型参数,并返回表示结果构造类型的
Or constructed type , is the result of specifying types for the generic type parameters of a generic type definition “构造泛型类型”或称“构造类型”是为泛型类型定义的泛型类型参数指定类型得到的结果。
Accessibility of constructed types a constructed type is accessible when all the types that make up the constructed types are accessible 当构成构造类型的所有类型都是可访问的时,该构造类型就是可访问的。
These instances are not instances of the generic type definition , but of the constructed type formed by specifying type arguments 这些实例不是泛型类型定义的实例,而是通过指定类型变量形成的构造类型的实例。
Type objects that represent the type arguments supplied for a constructed type , or the type parameters of a generic type definition 对象数组,这些对象表示为构造类型提供的类型变量,或泛型类型定义的类型参数。