polamin
3/6/2017 - 6:30 PM

Check if array is null

Check if array is null

(array == null || array.Length == 0); // ==null must go first
(input == null || !input.Any()) // Cool way