This question is locked. New answers and comments are not allowed.
It should use the "From" keyword instead of the "With".
Cheers,
Mhano
new List<a>{
new a{b="w",c="x"},
new a{b="y",c="z"},
}
Gives:
New List(Of a)() With { _
New a() With { _
.b = "w", _
.c = "x" _
}, _
New a() With { _
.b = "y", _
.c = "z" _
} _
}
Instead of:
New List(Of a)() From { _ ...
Cheers,
Mhano
new List<a>{
new a{b="w",c="x"},
new a{b="y",c="z"},
}
Gives:
New List(Of a)() With { _
New a() With { _
.b = "w", _
.c = "x" _
}, _
New a() With { _
.b = "y", _
.c = "z" _
} _
}
Instead of:
New List(Of a)() From { _ ...