Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: developing with sql server Pin
teknolog12320-Jan-10 11:31
teknolog12320-Jan-10 11:31 
AnswerRe: developing with sql server Pin
ZHAOBING_NTU15-Jan-10 19:06
ZHAOBING_NTU15-Jan-10 19:06 
QuestionComboBox DropDownWidth behaviour Pin
baranils15-Jan-10 8:36
baranils15-Jan-10 8:36 
Questionsend mail to yahoo Pin
mohd_mogaly15-Jan-10 6:58
mohd_mogaly15-Jan-10 6:58 
AnswerRe: send mail to yahoo Pin
dan!sh 15-Jan-10 8:37
professional dan!sh 15-Jan-10 8:37 
QuestionJagged Arrays Definition Pin
Sokka9315-Jan-10 5:35
Sokka9315-Jan-10 5:35 
AnswerRe: Jagged Arrays Definition Pin
Rick Shaub15-Jan-10 5:52
Rick Shaub15-Jan-10 5:52 
AnswerRe: Jagged Arrays Definition Pin
harold aptroot15-Jan-10 6:27
harold aptroot15-Jan-10 6:27 
Almost, yes it would be "an array of (array of (array of ints))" (with parentheses for extra clearness)
However, you can only create 1 array at the time, so you can make a new int[3][][], but then you'd have to loop over it and fill every entry with a new int[3][]
You would then have 9 places in which you could put an "array of int" (but they are all null) so only 1 + 3 arrays in total (the outer array and the three middle arrays). (until you also create the arrays of ints)

It's not all that useful to do this though (when all sub-arrays have the same length), you might as well make a new int[9][] and index it with [3*i+j] instead of [i][j], which takes much less code (you don't have to fill the outer array with arrays). You could extend this to three dimensions if all arrays of int will be the same length.
GeneralRe: Jagged Arrays Definition Pin
Sokka9315-Jan-10 6:34
Sokka9315-Jan-10 6:34 
AnswerRe: Jagged Arrays Definition Pin
BillWoodruff16-Jan-10 20:42
professionalBillWoodruff16-Jan-10 20:42 
GeneralRe: Jagged Arrays Definition Pin
Sokka9317-Jan-10 6:03
Sokka9317-Jan-10 6:03 
QuestionMultiThread and File process Pin
AlexB4715-Jan-10 2:54
AlexB4715-Jan-10 2:54 
AnswerRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 3:50
Ilia Blank15-Jan-10 3:50 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:04
AlexB4715-Jan-10 4:04 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 4:12
Ilia Blank15-Jan-10 4:12 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:19
AlexB4715-Jan-10 4:19 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 4:29
Ilia Blank15-Jan-10 4:29 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:45
AlexB4715-Jan-10 4:45 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 5:33
Ilia Blank15-Jan-10 5:33 
GeneralRe: MultiThread and File process Pin
AlexB4717-Jan-10 20:42
AlexB4717-Jan-10 20:42 
GeneralRe: MultiThread and File process Pin
Ilia Blank18-Jan-10 4:53
Ilia Blank18-Jan-10 4:53 
GeneralRe: MultiThread and File process Pin
AlexB4718-Jan-10 4:58
AlexB4718-Jan-10 4:58 
GeneralRe: MultiThread and File process Pin
Ilia Blank18-Jan-10 5:04
Ilia Blank18-Jan-10 5:04 
AnswerRe: MultiThread and File process Pin
wjp_auhtm15-Jan-10 3:54
wjp_auhtm15-Jan-10 3:54 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:06
AlexB4715-Jan-10 4:06 

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.