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.
static void Main(string[] args) { long blah = 20948230498204; Console.WriteLine(blah.ToString().Length); }