|
分類:[VB.NET/VB2005 以降]
VBです。
2次元配列のカウントを取得する記述がわかりません。
たとえば、単純に Dim int() AS Integer = {0,0,0,0,0} であれば int.Count で取得でます。
下記の場合、どうすればよいのでしょうか?
Dim strArr(4,10) AS String = { {"あ","い","う","え","お"}, _ {"あ","い","う","え","お","か","き","く"}, _ ⇔ この部分のみのカウントを取得したい。 strArr(1,???).Count = 8 {"あ","い","う","え"}, _ {"あ","い","う","え","お","か","き","く","け","こ"}, _ {"あ","い","う","え","お","か"}, _ }
2次元配列の初期化の記述はあっているかわかりません; よろしくお願いします。
|