Raga Priyono

Raga Priyono

  • NA
  • 1
  • 1.3k

3 dimensional array C#

Jan 9 2015 4:22 PM
I have a problem with my  script:

Public partial class Form_Process : Form
{
   Static Object[ , , ] normW = null;
   //3 dimensional variable

   Private void process(){
       for(int i=0; i<3; i++){
          /*bla..bla..bla..
             //..............................
             //my process is here
             //..............................
         */
          //The result of the process
          //is in variable Normali[ , ].
          //Normali is a 2 dimensional array variable.

          //than..
          normalW[i] = Normali;  //this is where an error take place
       }
   }    
}
Error: Wrong number of indices inside []; expected 3


I hope anyone can help me for my error script above.
I'm sorry for my bad english. Thank you.

Answers (1)