Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How i can initialize a three Dimensional array?
Amirhossein Ahmadi
Mar 2 2017 8:31 AM
220
Reply
Hi there, i can initialize a two dimensional array:
int
[,] myDimensional2 =
new
int
[2, 3] { { 10, 20, 30 }, { 40, 50, 60} };
but i don't know how i can initialize a three, four,... dimensional arrays? :(
please initialize this array and give me the code, thank you so much :)
int
[,,] threeDimensional =
new
int
[2, 2, 3];
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Ntier Architecture With WCF Service
create web service with basic authentication c#