mirror of
https://github.com/tonytins/Lorem.NET.git
synced 2025-07-16 03:16:47 -04:00
added HexNumber
This commit is contained in:
parent
128cd52cfc
commit
0f898fa17f
5 changed files with 22 additions and 72 deletions
|
@ -34,6 +34,9 @@ string[] paragraphs = LoremNET.Lorem.Paragraphs(8, 9, 4, 5, 1, 3);
|
|||
// this will generate a random valid email address:
|
||||
string email = LoremNET.Lorem.Email();
|
||||
|
||||
// this will generate a random hex number (i.e. a color)
|
||||
string hex = LoremNET.Lorem.HexNumber();
|
||||
|
||||
// this will generate a random DateTime object between 1/1/1950 and the current DateTime:
|
||||
DateTime dateTime = LoremNET.Lorem.DateTime();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue