public void displayRobotSpecifications() { Console.WriteLine("Below is a list of robots along with their specifications: \n"); specifications.addToRobotList(); foreach (Robot robot in specifications.robotList) { robot.displaySpecifications(); } }