© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
7 replies
daveeska
How do I check the length of an array when that array is null?
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
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
❔ How do I check for an array key in Dictionary?
C
C# / help
3y ago
How can I check if an index of a 2d array is out of bounds?
C
C# / help
14mo ago
✅ Finding all possibilities of N length in an array
C
C# / help
9mo ago
❔ How can i clear the text of an array of labels
C
C# / help
4y ago