So I know with normal properties you can give it a default value eg.
public int someMethod { get; } = 1;
So my question is it possible to do the same with an array property?
public int[] someMethod {get; } = ??
Thanks!
So I know with normal properties you can give it a default value eg.
public int someMethod { get; } = 1;
So my question is it possible to do the same with an array property?
public int[] someMethod {get; } = ??
Thanks!
public int[] someMethod {get; } = new int[] { 1, 2, 3, ... };