Extend with to take multiple arguments

Bastiaan Veelo Bastiaan at Veelo.net
Thu Jun 6 06:53:00 UTC 2019


On Wednesday, 5 June 2019 at 21:02:39 UTC, 12345swordy wrote:
> In C# you can initialize a class like this:
> var exp = new Class { };
>
> That is just my opinion though.
>
> Alex

I don’t understand your point. How is that different from D?

  auto exp = new class {};

https://run.dlang.io/is/mupnDT

Bastiaan.


More information about the Digitalmars-d mailing list