© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
16 replies
Gipper

❔ How to get to one of the arrays in a multidimensional array?

For instance, in:
int[,] array4 = { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
int[,] array4 = { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };

How do I get to just the
{1, 2}
{1, 2}
part?
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

❔ why is there a comma in the [] when working in a multidimensional array
C#CC# / help
3y ago
How do I use String.Format with a multidimensional array?
C#CC# / help
3y ago
how to get sum of array's
C#CC# / help
3y ago
how do i rotate part of a multidimensional matrix?
C#CC# / help
2y ago