First names

First name data is contained within WorldFirstName instances and is mostly used in the Pick first name from list and related, country-specific masking activities.

Each WorldFirstName instance contains data concerning first names and contains the following information:

  • FirstName - First name
  • Gender - Gender related to the first name
  • Country - Country code

Below are a few examples:

FirstName Gender Country
Abigail F US
Gerard M US
Edmund M US
Dora F DE
Ignasi M CO

A collection of all WorldFirstName instances can be accessed with PickLists.WorldFirstNames, an IEnumerable collection. In addition to the standard methods the Enumerable type offers, you can also use the following filtering methods:

  • OnlyFirstNames() - Returns only first names, without gender and country codes, in string format

  • OnlyCountry(string country) - Returns first names from the country represented by the given country code

  • OnlyGender(string gender) - Returns first names of the given gender (M or F)

  • OnlyMale() - Returns only male first names

  • OnlyFemale() - Returns only female first names