0
我想根据我拥有的索引从char数组中获取项目。我之前使用过代码来获取指定项目的索引,但现在我需要相反的方式来获取指定索引的项目。我已经尝试了一些东西,但无法让它工作。基于索引获取数组项目
我想是这样的:
char arrayChar = Array.GetItem(index [i]) // I know this isn't right but just so you get the idea.
非常感谢!