0
我想根據我擁有的索引從char數組中獲取項目。我之前使用過代碼來獲取指定項目的索引,但現在我需要相反的方式來獲取指定索引的項目。我已經嘗試了一些東西,但無法讓它工作。基於索引獲取數組項目
我想是這樣的:
char arrayChar = Array.GetItem(index [i]) // I know this isn't right but just so you get the idea.
非常感謝!