設一維數組下標爲index,二維數組長度爲m * n,則:
一維數組轉換爲二維數組
row = index / n
col = index % n
二維數組轉換爲一維數組
index = col + row * n
設一維數組下標爲index,二維數組長度爲m * n,則:
row = index / n
col = index % n
index = col + row * n
從其他機器拷貝一個複製到下面的目錄 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework