我想知道如何将字符串值中的数字转换为int[].我将以下数字存储在一个字符串中:
int[]
1,2,3,4
但我想知道如何将这些数字存储在一个存储器中,int[]因此每个值都存储在int数组中.
int
c# arrays string int numbers
arrays ×1
c# ×1
int ×1
numbers ×1
string ×1