Domain names

Domain name data is contained within WorldDomainName instances and is mostly used in various data generators.

Each WorldDomainName instance contains data concerning domain names and contains the following information:

  • DomainName - Domain name
  • Country - Country code

Below are a few examples:

Domain Country
msn.com US
gmail.com US
outlook.com US
t-online.de DE
uol.com.co CO

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

  • OnlyDomainNames() - Returns only domain names, without country codes, in string format
    PickLists.WorldDomainNames.OnlyDomainNames()

  • OnlyCountry(string country) - Returns domain names from the country represented by the given country code
    PickLists.WorldDomainNames.OnlyCountry("US")