 |
c# - If (Array.Length == 0) - Stack Overflow
If an array is empty, it looks like you can't check it's length using ".length". What's the best way to check if an array is empty? ... Jon Skeet answered correctly. Just remeber that the order of the test in the "IF" is important. Check for the null befo
stackoverflow.com |
 |