Product data created in-memory using collection initializer
使用集合初始值设定项在内存中创建的产品数据:
Create a dictionary using collection initializer syntax. You do not need to add an extension
使用集合初始值设定项语法创建字典。无需添加扩展方法,
Join two collections created using collection initializer syntax.
联接两个使用集合初始值设定项语法创建的集合。
Create a collection of strings using collection initializer syntax.
使用集合初始值设定项语法创建字符串集合。
Outros resultados
which builds the same list using collection initializers.
它使用集合初始值设定项生成了相同的列表。
objects to a collection using collection initializers. For example
自定义对象时使用更短的语法。例如:
An aggregate collection initializer entry must contain at least one element.
聚合集合初始值设定项必须至少包含一个元素。
For simple object, array, or collection initializers.
对于简单对象、数组、或集合初始化。
Object and collection initializer expressions may not be applied to a delegate creation expression
对象和集合初始值设定项表达式不能应用于委托创建表达式
method to use nested collection initializers with a Dictionary.
即可对字典使用嵌套的集合初始值设定项。
does not use collection initializers to build the list.
它不使用集合初始值设定项生成列表。
Using collection account funds (for eligible customers only)
使用收款账户资金(仅限符合资格的客户)
An Object Initializer and a Collection Initializer cannot be combined in the same initialization.
在同一初始化中不能混用对象初始值设定项和集合初始值设定项。
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.