private void GenerateRoomNamesToDisplay() { for (int i = 0; i < ALL_ROOM_NAMES.Length; i++) { if (RoomToGoTo != null && (ALL_ROOM_NAMES[i].Equals(RoomToGoTo) || ((RoomToGoTo.Contains("quality") || RoomToGoTo.Contains("Quality")) && (ALL_ROOM_NAMES[i].Equals("Quality") || ALL_ROOM_NAMES[i].Equals("Assurance"))))) { prependCharacter = '*'; appendCharacter = '*'; } else if (RoomToGoTo == null && (ALL_ROOM_NAMES[i].Equals(CurrentRoom) || ((CurrentRoom.Contains("quality") || CurrentRoom.Contains("Quality")) && (ALL_ROOM_NAMES[i].Equals("Quality") || ALL_ROOM_NAMES[i].Equals("Assurance"))))) { prependCharacter = '*'; appendCharacter = '*'; } else { prependCharacter = ' '; appendCharacter = ' '; } Rooms[i] = CreateRoomName(ALL_ROOM_NAMES[i]); } }