D-Programming-Language/dmd — comment on commit 675898721c04d0bf155a85abf986eae99c37c0dc
File:  line 0
By WalterBright:

On 12/27/2011 4:57 AM, simendsjo wrote:
> Same here. The other feature I really miss is object initializers: http://msdn.microsoft.com/en-us/library/bb384062.aspx and attributes.
>
> class C {
> int a, b;
> }
>
> D:
> auto c = new C();
> with(c) {
> c.a = 1;
> c.b = 2;
> }
>
> C#:
> var c = new C() { a = 1, b = 2 };
>
> ---
>

D:
auto c = new C(a,b);