On 05.02.2016 8:43, scott wrote:
> In C# (which I mostly use) if there is any chance there will be zero
> elements then I normally use a List rather than an array.
Why? This seems perfectly legal in C#:
double[] x = new double[0];
Console.WriteLine(x.Length); // 0
Post a reply to this message
|