[Solved] What is a long, simplified, standard, alternative to an Array or LINQ? [duplicate]
See here for SetRoom and GetRoom methods that do not use arrays. Using GetRoom and the individual int member variables Room1 to Room4 you can find the room with the maximum number of bottles like this: int maxValue = Room1; int maxRoomNumber = 1; for (int i = 2; i <= 4; i++) { int … Read more