Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!