public static LobbyPlayer[] CreateArray(int size) { var array = new LobbyPlayer[size]; for (int i = 0; i < size; ++i) { array[i] = LobbyPlayer.Create(); } return(array); }