mirror of
https://github.com/tonytins/Lorem.NET.git
synced 2025-03-15 04:32:23 +00:00
24 lines
No EOL
907 B
C#
24 lines
No EOL
907 B
C#
using System;
|
|
|
|
namespace Examples
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Console.WriteLine($"Email: {LoremNET.Generate.Email()}");
|
|
Console.WriteLine($"Chance: {LoremNET.Generate.Chance(1, 2)}");
|
|
Console.WriteLine($"Words: {LoremNET.Generate.Words(5)}");
|
|
|
|
Console.WriteLine();
|
|
Console.WriteLine("Change the source...");
|
|
LoremNET.Source.Update("Alright stop collaborate and listen ice is back with my brand new invention something grabs a hold of me tightly flow like a harpoon daily and nightly will it ever stop yo I don't know turn off the lights and I'll glow");
|
|
|
|
Console.WriteLine($"Sentence: {LoremNET.Generate.Sentence(5, 25)}");
|
|
|
|
Console.WriteLine();
|
|
Console.WriteLine("Press any key to exit...");
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
} |