Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

112
Visualizações
Nombres de los miembros de la base de datos en tiempo real de Google Firebase

¿Por qué los documentos de Firebase incluyen esto como una opción en https://firebase.google.com/docs/database/unity/save-data ?

Aquí está mi código y error.

 public class User2 { public string email; public string myAge; public string mySex; public string myEth; public string myReligion; public string myJob; public string myKids; public string myFKids; public string myCovid; public string myHeight; public string myWeight; public string myEye; public string theirMinAge; public string theirMaxAge; public string theirSex; public string theirEth; public string theirReligion; public string theirJob; public string theirKids; public string theirFKids; public string theirCovid; public string theirHeight; public string theirWeight; public string theirEye; public User2 () { } public string User2 (string email1, string myAge1, string mySex1, string myEth1, string myReligion1, string myJob1, string myKids1, string myFKids1, string myCovid1, string myHeight1, string myWeight1, string myEye1, string theirMinAge1, string theirMaxAge1, string theirSex1, string theirEth1, string theirReligion1, string theirJob1, string theirKids1, string theirFKids1, string theirCovid1, string theirHeight1, string theirWeight1, string theirEye1) { this.email = email1; this.myAge = myAge1; this.mySex = mySex1; this.myEth = myEth1; this.myReligion = myReligion1; this.myJob = myJob1; this.myKids = myKids1; this.myFKids = myFKids1; this.myCovid = myCovid1; this.myHeight = myHeight1; this.myWeight = myWeight1; this.myEye = myEye1; this.theirMinAge = theirMinAge1; this.theirMaxAge = theirMaxAge1; this.theirSex = theirSex1; this.theirEth = theirEth1; this.theirReligion = theirReligion1; this.theirJob = theirJob1; this.theirKids = theirKids1; this.theirFKids = theirFKids1; this.theirCovid = theirCovid1; this.theirHeight = theirHeight1; this.theirWeight = theirWeight1; this.theirEye = theirEye1; } }

y mi error

Assets\Scripts\Buttons.cs(46,19): error CS0542: 'User2': los nombres de los miembros no pueden ser iguales a su tipo adjunto

Cuando cambio el nombre de User2 dentro de la clase, aparece otro error.

por favor declare el tipo de retorno del método.

¿Hay una solución fácil para esto?

Encontré mi error... Tenía la cadena de palabras clave en uno de los métodos. resolviendo

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Encontré mi error. Tenía la cadena de palabras clave en uno de los métodos.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda