private void ValidateIsCurrentTeam(ChessPiece piece) { var teamName = Enum.GetName(typeof(Team), piece.Team); if (piece.Team != TeamToMove()) throw new Exception("It is not this " + teamName + "'s turn."); }