看板 C_Sharp 關於我們 聯絡資訊
int[,] a = new int [2,4]; 我用 a.Length 取得的是 8 請問我有沒有辦法分別取得 2 跟 4 ? 還是說一定要自己另外用變數記住? 感謝。 -- To iterate is human, to recurse is divine. 遞迴只應天上有, 凡人該當用迴圈.   L. Peter Deutsch -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.78.40
ithinkurdumb:a.GetLength(0) 09/07 18:09
yoco315:感謝你.. 不好意思我都問一些簡單的問題 @@" 09/07 18:19
ithinkurdumb:發現忘了打; :p 09/08 01:01