Beispiel #1
0
        static public string StreetName()
        {
            var place = ArrayFaker.SelectFrom(
                "Highland", "Hill", "Park", "Woodland", "Sunset", "Virginia"
                );

            if (BooleanFaker.Boolean())
            {
                var tree = ArrayFaker.SelectFrom(
                    "Acacia", "Beech", "Birch", "Cedar", "Cherry", "Chestnut", "Elm", "Larch", "Laurel", "Linden", "Maple", "Oak", "Pine", "Rose", "Walnut", "Willow"
                    );

                return(tree + " " + place);
            }
            else
            {
                var person = ArrayFaker.SelectFrom(
                    "Adams", "Franklin", "Jackson", "Jefferson", "Lincoln", "Madison", "Washington", "Wilson"
                    );

                return(person + " " + place);
            }
        }
Beispiel #2
0
 public static string FirstName()
 {
     return(BooleanFaker.Boolean() ? FemaleFirstName() : MaleFirstName());
 }