public string GetName() { var textInfo = new CultureInfo("en-US", false).TextInfo; var prefix = Prefixes.Count == 0 ? "" : random.Choice(Prefixes) + Combiner; var infix = Infixes.Count == 0 ? "" : random.Choice(Infixes) + Combiner; var suffix = random.Choice(Suffixes); return(textInfo.ToTitleCase(prefix + infix + suffix)); }