I am have trouble with this switch code. I receive this error message when I try compiling. I am trying to tell it to switch to certain methods depending on the circumstance in the game. This is suppose to be a very simple Tic Tac Toe game using only the GUI system. I have highlighted the code that I am have trouble with. Any help would be greatly appreciated.
error CS0151: A switch expression of type `GameState’ cannot be converted to an integral type, bool, char, string, enum or nullable type