[C#] 如何取得二維陣列最大與最小值 · var myArr = new int[1, 99] { { 2, 2 }, { 3, 4 } }; · int max = myArr.Cast<int>().Max(); · int min = myArr.Cast< ...
確定! 回上一頁