In need 3 dimensional array correct the program below. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In need 3 dimensional array correct the program below.

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int[ ,] arr = { {2,2,0}, {4,4,9}, {8,9,9} }; Console.WriteLine(arr.Length); Console.WriteLine(arr.Rank); } } }

2nd Jun 2019, 8:35 AM
Dineshkumar Madanlal Vaishnav
Dineshkumar Madanlal Vaishnav - avatar
1 Answer
0
Please can you explain. And if is it possible make change in above code so I can get clear idea whats wrong in abov code.
2nd Jun 2019, 11:12 AM
Dineshkumar Madanlal Vaishnav
Dineshkumar Madanlal Vaishnav - avatar