It is sad we still have official pages with something like this :(

The D Way

The length of an array is accessible through the property "length".
int array[17];
foreach (i; 0 .. array.length)
     func(array[i]);
or even better:
int array[17];
foreach (int value; array)
    func(value);


Dne 10.2.2016 v 21:12 Andre Polykanine via Digitalmars-d-announce napsal(a):
JvDda> https://habrahabr.ru/post/276227/

It states that it actually is the translation of this one:
http://dlang.org/ctod.html
                                                            :)
But thanks anyway!

A
ndre.