© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
31 replies
alex_aom

Resizing an array

I have declared what I think is an array of integers
int[] validCoords = new int[1];
int[] validCoords = new int[1];

I believe this is a 1d array with 1 entry.
How would I resize this?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Array resizing issues
C#CC# / help
2y ago
Regex using an array
C#CC# / help
4y ago
✅ putting an object from an array into a variable changes the array
C#CC# / help
3y ago