How do I check the length of an array when that array is null? I've tried make it nullable by putting ? after int[] but it still doesn't work