public static string GetRandomNumeric(int length) { if (length <= 0) { return(""); } System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); for (int i = length; i > 0; i--) { stringBuilder.Append(Fetch.GetRandomSingleDigit().ToString()); } return(stringBuilder.ToString()); }