I did this:
var f = new Faker();
String.Join("", f.Random.Digits(10)
However, is there another method that would eliminate the 'Join' call?
I did this:
var f = new Faker();
String.Join("", f.Random.Digits(10)
However, is there another method that would eliminate the 'Join' call?
Wow. Sorry for the late reply, but yes there's a way to do this in Bogus.
void Main()
{
var f = new Faker();
var numberString = f.Random.ReplaceNumbers("##########");
numberString.Dump();
}
OUTPUT:
2166951396
By the way, thanks for using Bogus!