If you need to deal with negative numbers also, you can take stmax solution with a spin:
public static int IntLength(int i) {
if (i == 0) return 1; // no log10(0)
int n = (i < 0) ? 2 : 1;
i = (i < 0) ? -i : i;
return (int)Math.Floor(Math.Log10(i)) + n;
}