How do I check the length of an array when that array is null? - C#