Beispiel #1
0
 public static string GetLastName()
 {
     return(_lastNames[RNG.Int(_lastNames.Length)]);
 }
Beispiel #2
0
 public static string GetFirstName()
 {
     return(_firstNames[RNG.Int(_firstNames.Length)]);
 }
Beispiel #3
0
 public static string GetMiddleName()
 {
     return(_middleNames[RNG.Int(_middleNames.Length)]);
 }
Beispiel #4
0
 public static string GetFullName()
 {
     return($"{GetFirstName()} {(1 - _middleNameChance <= RNG.Float() ? GetMiddleName() : "")} {GetLastName()}");
 }