How can I get a count of the total number of digits of a number in C#? For example, the number 887979789 has 9 digits.
int i = 855865264; int NumLen = i.ToString().Length;