public void OnSubmitScore(object sender, TouchEventArgs e) { playerName = playerNameField.Text; totalScore = Scoreboard.TotalScore(); Client client = new Client(playerName, totalScore); }