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 benull
(but array itself can’t benull
)string[]?
– string array which can benull
itself (but it can’t havenull
items)string?[]?
– both array and its items allowed to benull