經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供