I need to obtain a list of random positive numbers generated with Bogus.
The returned object should be the IEnumerable<long>
type.
This will give a number, is there an easy way to generate a list using Bogus?
var fakeNumber = new Faker().Random.Number(0,10);
Following Bogus documentation, using Link solved my problem. The code below gives me a list of 10 positive numbers.