Lorem.NET/Examples/Program.cs
2020-02-21 16:47:15 -05:00

24 lines
No EOL
913 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.UpdateSource("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();
}
}
}