5. Lastly, we can return the matching MenuOption. We can make use of our understandingof enumerations, and the fact that each enumeration value is actually an integer. Thefollowing code will return the matching MenuOptionvalue.return(MenuOption)(option - 1);This works because each of the enumeration labels is associated with an integer valueinternally. When option is 1, the user wanted to TestName. This is the first value of theenumeration, so it has the integer value 0. Subtracting 1 from the value the user entered willconvert it to the matching enumeration value.The (MenuOption)code is a cast. This tells the computer to re-interpret the value(option - 1)as a MenuOptionvalue. This converts the 0MenuOption.TestName.Finally, the result of this cast can then be returned to the caller. They will getMenuOption.TestNameif the user entered 1, MenuOption.GuessThatNumberifthey entered 2, or MenuOption.Quitif they entered 3.