On Sunday, 11 February 2018 at 01:13:00 UTC, psychoticRabbit 
wrote:
>
> Well, in C.. I can do:
>
> int arr[2] = { [0]=10, [1]=20 };
>
> I cannot work out how to do that in D yet (anyone know??)
>
Oh. just worked it out after reading this thread ;-)
int[2] arr = [ 0:10, 1:20 ];