mirror of
https://github.com/tonytins/Lorem.NET.git
synced 2025-07-18 20:36:49 -04:00
minor changes to the Enum -- mostly semantic
This commit is contained in:
parent
7684d858d7
commit
ff037bc9f3
3 changed files with 12 additions and 8 deletions
|
@ -51,7 +51,7 @@ string[] numbers = GetNumbers();
|
|||
string number = LoremNET.Lorem.Random(numbers);
|
||||
|
||||
// this will randomly select a value from the enum:
|
||||
MyEnum value = LoremNET.Lorem.RandomEnum<MyEnum>();
|
||||
MyEnum value = LoremNET.Lorem.Enum<MyEnum>();
|
||||
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue