how to put each value of a number into an array c# code example Example: c# int array add number arr[index] = value;