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

105
Visualizações
Nullable Array Notation

I am new to nullable.

Is there a meaningful difference between the possible notations? string?[] str string[]? str and even string?[]? str seems to all be valid

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

When we put ? after reference type we allow the instance to be null. So we have

  • string?[] - string array where we allow the items to be null (but array itself can't be null)
  • string[]? - string array which can be null itself (but it can't have null items)
  • string?[]? - both array and its items allowed to be null
over 4 years ago · Santiago Trujillo 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