- ©«¤l
- 26
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- Mac OS X
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-8-13
- ³Ì«áµn¿ý
- 2010-10-29
|
.Net Framework¤w¤º«Ø³\¦h±j¤jªº¸ê®Æµ²ºcª«¥ó¡A
ì¥Í°}¦C»yªk¨Ï¥Î¨ìªº¾÷·|¨Ã¤£°ª¡A¤£¹L¥¦ÁÙ¬OÆZ«nªº¡C
¦hºû°}¦C¤À¬°³W«h»P¤£³W«h¨âºØ¡C
³W«h°}¦Cªº«Å§i¤è¦¡¬O
int [ , ] array = new int[3, 3]; // ¤@Ó3x3ªº¤Gºû°}¦C
¦b«Å§iªº®ÉÔ¥i¥H¶¶«Kªì©l¤Æ
int [ , ] array = new int[3, 3] { {1,2,3}, {4, 5, 6}, {7,8,9} };
¤]¥i¥H¤£«Å§iºû«×¡A·|¦Û°Ê±À½×¡C
int [ , ] array = new int[,] { {1,2,3}, {4, 5, 6}, {7,8,9} }; // ®ÄªG¤@¼Ë
¦s¨ú¤è¦¡¬O array[1,1] = 10;
³oºØ¼gªk¬Ý°_¨Ó¤Ö¤F´XÓ[]¡AY¹ê»Ú¦L¥X array.Length ´N·|ª¾¹D©MC++¦³«Ü¤jªº®t§O¡C |
|