我試圖通過使用索引號的整數得到一個字符串數組中的元素,但我不斷收到一個錯誤:數組索引與整數
Cannot apply indexing with [] to an expression of type 'int'
我會非常感激可作爲任何幫助我對於嚴肅的編程頗爲陌生。
下面的代碼:http://pastebin.com/sa91zHWw
assetClient.DownloadFile("https://s3-eu-west.amazonaws.com/delvegame/versions/" +versionList[numOfItems]+".txt");
我們展示versionList的定義是什麼? –
它看起來像'versionList'是一個'int',而不是一個數組。 – Lee
發佈'versionList'的方式 –