Return an array of int like this:
return new int [] { 0, 0, 0 };
You can also implicitly type the array – the compiler will infer it should be int[] because it contains only int values:
return new [] { 0, 0, 0 };
Return an array of int like this:
return new int [] { 0, 0, 0 };
You can also implicitly type the array – the compiler will infer it should be int[] because it contains only int values:
return new [] { 0, 0, 0 };