Update readme.md

This commit is contained in:
Xavier Fischer 2015-08-28 22:07:17 +02:00
parent d579653036
commit 1661e94a0a

View file

@ -49,6 +49,10 @@ bool isTruth = LoremNET.Lorem.Chance(55, 100);
// this will randomly select an item from the group:
string[] numbers = GetNumbers();
string number = LoremNET.Lorem.Random(numbers);
// this will randomly select a value from the enum:
MyEnum value = LoremNET.Lorem.RandomEnum<MyEnum>();
```
### RandomHelper
@ -74,4 +78,4 @@ namespace LoremNET
}
}
}
```
```