• The second scenario is when a type has a initializer for a static field, in which case the compiler adds a type constructor behind the scenes.

    第二情况类型具有一个用于静态字段初始值设定项这种情况下,编译器会在后台添加类型构造函数

    youdao

  • Before moving on to initializer list examples and typical usage, let's look at what is meant by type narrowing.

    研究初始化器列表示例典型用法之前讨论一下什么类型窄化

    youdao

  • As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.

    正如前面看到的那样,静态字段初始值设定项代码隐式类型构造函数内部执行

    youdao

  • Whenever a particular type is required, the initializer for that type is transparently lifted into the type itself.

    每当需要一个特殊类型时,类型初始化器就明显地被提升类型本身。

    youdao

  • It's okay to use initializer lists to initialize scalar variables, and the usual rule of type narrowing applies in such cases.

    可以使用初始化器列表标量变量进行初始化,这种情况下应用一般类型窄化规则

    youdao

  • Welcome to the new auto syntax: type deduction from initializer expressions.

    新的auto语法根据初始化器(initializer)表达式推导类型

    youdao

  • Of initializer lists and type narrowing

    初始化器列表类型窄化(type narrowing)

    youdao

  • If the initializer is a bytes literal, you need not specify the encoding type: Remember, bytes literals are not strings. But like strings, you can concatenate bytes.

    如果初始化器一个bytesliteral无须指定编码类型请记住,bytesliteral不是字符串

    youdao

  • You can create an implicitly-typed array in which the type of the array instance is inferred from the elements specified in the array initializer.

    可以建立隐含型别的阵列其中阵列执行个体别是由阵列初始设定式中指定项目推断。

    youdao

  • The compiler USES a variable's initializer to determine the variable's type at compile time to produce early-bound code.

    编译使用变数初始设定式,编译时期判断变数的产生早期系结程序码。

    youdao

  • The format you use to declare an instance of an anonymous type resembles the format you use when you declare an instance of a named type by using an object initializer.

    用于声明匿名类型实例格式类似于使用对象初始值设定项声明命名类型实例使用格式。

    youdao

  • Implicitly typed arrays, a form of array creation and initialization that infers the element type of the array from an array initializer.

    数组创建初始形式数组初始化器推导出数组的元素类型

    youdao

  • The compiler USES a variable's initializer to determine the variable's type at compile time to produce early-bound code.

    编译使用变量初始值设定项,编译确定变量的类型生成早期绑定代码。

    youdao

  • When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer.

    建立包含阵列匿名型别的物件初始设定式中阵列必须隐含型别。

    youdao

  • By declining to deduce a concrete type, the compiler preserves any possible application of the more general initializer list.

    下降推导出一个具体类型编译保留一般初始化列表中任何可能的应用

    youdao

  • When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.

    使用物件初始设定式建立具名别的执行个体时,呼叫类别预设建构函式,接著按照您指定的顺序初始指定成员

    youdao

  • This error indicates that you tried to modify an initializer in a generic type.

    错误指示尝试型类型中修改初始值设定项。

    youdao

  • This error indicates that you tried to modify an initializer in a generic type.

    错误指示尝试型类型中修改初始值设定项。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定