D语言新手问题 返回不带索引的数组或数组对象

· Created · Last modified by 龙卷锋123 replied at · 87 times read

//定义
class Test
{
string key1;
string key2;
}
Test[string] test;

// 代码
test.values;//结果:Test[] test;

Login to reply