nbuilder

How does this .NET code work?

Hi folks, this code is part of NBuilder. I'm having a bad day .. and to prove it, I don't understand what this (simple) code is trying to do. Here are the answers, with the code after it. GetRandom.Phrase(5) == null or et or ut or do or elit or amet.. (nothing over 4 characters) GetRandom.Phrase(4) == null or s...

Is it possible to use NBuilder to Build a collection of random strings?

Hi Folks, pretty simple question: can I use NBuilder to create a collection of x number of random strings? I was trying... // NOTE: Tags need to be lowercase. return Builder<string> .CreateListOfSize(10) .WhereAll() .Has(x => x = randomGenerator.Phrase(15)) .WhereTheFirst(1) .Has(x => x = "time") .AndTh...