On 3/23/12, Timon Gehr <timon.g...@gmx.ch> wrote: > Maybe you are also missing that this is valid code: > int[] a = [1 : 2, 3 : 4];
What is this syntax for and how is it used? It creates '[0, 2, 0, 4]', which is puzzling to me.
On 3/23/12, Timon Gehr <timon.g...@gmx.ch> wrote: > Maybe you are also missing that this is valid code: > int[] a = [1 : 2, 3 : 4];
What is this syntax for and how is it used? It creates '[0, 2, 0, 4]', which is puzzling to me.