Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 823 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 823 Bytes

Navnegenerator

This repo supplies a random name generator for Norwegian names.

It should provide names with a distribution which is similar to that of the most popular names of the newest version of Statistisk sentralbyrås (SSB) latest published statistics.

Note: The SSB statistics does not include names which have been used fewer than 200 times during a given year.

SSB source: http://www.ssb.no/navn/

Example of use

After installing the NuGet-package, it should be to simply use one of the following generator methods:

var generator = new Generator(); // A new generator (loads names)
generator.GenererNyttKvinnenavn(); // A new name for a woman
generator.GenererNyttHerrenavn(); // A new name for a man
generator.GenererNyttNavn(); // A new name which could be for a woman or a man