Is there any way a user can input numbers into an array like you can in c++??? Or strings for that matter????
Zvjezdan23 -13 Junior Poster
Recommended Answers
Jump to Postmydoubles[0,1]=myInput
Seems like you should google Readline()
Jump to PostSo you would like to learn multidimensional arrays?
Try to use for loops with them:
int[,] myInts = new int[2,3] { 1, 2, 3 }, { 4, 5, 6 } }; for(int i = 0; i < myInts.GetLenght(1); i++) { for(int j = 0; j < …
All 7 Replies
Momerath 1,327 Nearly a Senior Poster Featured Poster
Zvjezdan23 -13 Junior Poster
Zvjezdan23 -13 Junior Poster
skatamatic 371 Practically a Posting Shark
Zvjezdan23 -13 Junior Poster
Zvjezdan23 -13 Junior Poster
Mitja Bonca 557 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.