mnsh87
یک شنبه 22 فروردین 1389, 07:19 صبح
مثلا
; T = array of Boolean
; B = array of array of Boolean
; A = array of B
B , A رو چجوری نشون میدن؟
orkideh07
یک شنبه 22 فروردین 1389, 08:50 صبح
فکر کنم آرایه های چند بعدی همین کارو میکنن دیگه! :متفکر:
exlord
یک شنبه 22 فروردین 1389, 12:25 عصر
List<List<List<bool>>> A = new List<List<List<bool>>>();
mehdi.mousavi
یک شنبه 22 فروردین 1389, 12:55 عصر
مثلا
; T = array of Boolean
; B = array of array of Boolean
; A = array of B
B , A رو چجوری نشون میدن؟
سلام.
منظورتون اینه؟
bool[] arrayOfBooleans = new bool[] { false, true };
bool[][] arrayOfArrayOfBooleans = new bool[][] {
new bool[] {false,true,true},
new bool[] {false, false},
new bool[] {true, true}
};
bool[][][] arrayOfArrayOfArrayOfBooleans = new bool[][][] {
new bool[][] {new bool[] {false,true,true}, new bool[] {false,true,true}},
new bool[][] {new bool[] {false,true,true}},
new bool[][] {new bool[] {false,true,true}}
};
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.