in C# you can initilizate the class members like this: > var foo = new Foo { a = 1, b = 2 }; I found something similar to structs in D: > myStruct S = {a:1, b:2}; But can't figure out if D does have that for classes.