private void BtSalvar_Click(object sender, RoutedEventArgs e) { if (Validates.ValidEmail(tbEmail.Text)) { MessageBox.Show("certo"); } if (Validates.ValidPhone(tbTelefone.Text)) { MessageBox.Show("certo fone"); } StringBuilder comparar = new StringBuilder(); comparar.Append(tbNome.Text); comparar.Append(tbTelefone.Text); comparar.Append(tbEmail.Text); MessageBox.Show(comparar.ToString()); }