Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
SuggestionRe: How to get array data in correct sequence from serial port in C# Pin
Richard MacCutchan10-Jan-15 21:40
mveRichard MacCutchan10-Jan-15 21:40 
GeneralRe: How to get array data in correct sequence from serial port in C# Pin
DredgPost11-Jan-15 1:48
DredgPost11-Jan-15 1:48 
AnswerRe: How to get array data in correct sequence from serial port in C# Pin
OriginalGriff10-Jan-15 22:39
mveOriginalGriff10-Jan-15 22:39 
GeneralRe: How to get array data in correct sequence from serial port in C# Pin
DredgPost11-Jan-15 11:39
DredgPost11-Jan-15 11:39 
Generalspeack to text Pin
Mạnh Tuyên9-Jan-15 17:27
Mạnh Tuyên9-Jan-15 17:27 
GeneralRe: speack to text Pin
OriginalGriff9-Jan-15 21:30
mveOriginalGriff9-Jan-15 21:30 
GeneralRe: speack to text Pin
Pete O'Hanlon10-Jan-15 2:44
mvePete O'Hanlon10-Jan-15 2:44 
AnswerRe: speack to text Pin
Afzaal Ahmad Zeeshan10-Jan-15 9:26
professionalAfzaal Ahmad Zeeshan10-Jan-15 9:26 
QuestionMultiline textbox scrollbars cannot be moved Pin
robwm19-Jan-15 13:00
robwm19-Jan-15 13:00 
AnswerRe: Multiline textbox scrollbars cannot be moved Pin
Eddy Vluggen9-Jan-15 22:04
professionalEddy Vluggen9-Jan-15 22:04 
GeneralRe: Multiline textbox scrollbars cannot be moved Pin
robwm112-Jan-15 7:39
robwm112-Jan-15 7:39 
GeneralRe: Multiline textbox scrollbars cannot be moved Pin
Eddy Vluggen12-Jan-15 7:56
professionalEddy Vluggen12-Jan-15 7:56 
GeneralRe: Multiline textbox scrollbars cannot be moved Pin
robwm112-Jan-15 7:59
robwm112-Jan-15 7:59 
GeneralRe: Multiline textbox scrollbars cannot be moved Pin
Eddy Vluggen12-Jan-15 10:14
professionalEddy Vluggen12-Jan-15 10:14 
GeneralRe: Multiline textbox scrollbars cannot be moved Pin
robwm112-Jan-15 10:28
robwm112-Jan-15 10:28 
Question3 Dimensional Array C# Pin
Member 113642179-Jan-15 10:35
Member 113642179-Jan-15 10:35 
I have a problem with my script:

C#
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.

modified 9-Jan-15 16:46pm.

AnswerRe: 3 Dimensional Array C# Pin
PIEBALDconsult9-Jan-15 10:51
mvePIEBALDconsult9-Jan-15 10:51 
GeneralRe: 3 Dimensional Array C# Pin
Member 1136421710-Jan-15 7:08
Member 1136421710-Jan-15 7:08 
AnswerRe: 3 Dimensional Array C# Pin
Eddy Vluggen9-Jan-15 12:37
professionalEddy Vluggen9-Jan-15 12:37 
GeneralRe: 3 Dimensional Array C# Pin
Member 1136421710-Jan-15 6:51
Member 1136421710-Jan-15 6:51 
AnswerRe: 3 Dimensional Array C# Pin
BillWoodruff9-Jan-15 14:05
professionalBillWoodruff9-Jan-15 14:05 
GeneralRe: 3 Dimensional Array C# Pin
Member 1136421710-Jan-15 6:41
Member 1136421710-Jan-15 6:41 
GeneralRe: 3 Dimensional Array C# Pin
BillWoodruff10-Jan-15 8:19
professionalBillWoodruff10-Jan-15 8:19 
GeneralRe: 3 Dimensional Array C# Pin
Member 1136421711-Jan-15 16:10
Member 1136421711-Jan-15 16:10 
SuggestionRe: 3 Dimensional Array C# Pin
Richard Deeming12-Jan-15 2:03
mveRichard Deeming12-Jan-15 2:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.