How to determine the length of the element in the array?

Hello!
For example the array:
int[] x = new int[] {25,5,15,213,2125}; // how to determine the length of the number with the index x[2].
//Or maybe for the element in the array is a function like this:
x.Length


Thanks in advance.
March 25th 20 at 13:47
1 answer
March 25th 20 at 13:49
Solution
x[2].ToString().Length
?
Maybe it is still of course and it means to divide by 10 in a loop until the remainder is less than 10. - elenor16 commented on March 25th 20 at 13:52
@elenor16, what question - such and the answer.) - Felicia.Hick commented on March 25th 20 at 13:55

Find more questions by tags C#