var arrayOfNumbers = arrayOfStrings.map(Number);
const arrayOfDigits = numToSeparate.toString().split("");
public int[] IntegerArrayNum(int num)
{
var ls = new List<int>();
foreach ( var i in num.ToString().ToCharArray())
ls.Add(Convert.ToInt32(i.ToString()));
return ls.ToArray();
}
var arrayOfNumbers = arrayOfStrings.map(Number);
const arrayOfDigits = numToSeparate.toString().split("");
public int[] IntegerArrayNum(int num)
{
var ls = new List<int>();
foreach ( var i in num.ToString().ToCharArray())
ls.Add(Convert.ToInt32(i.ToString()));
return ls.ToArray();
}