Lorem.NET/Examples/Program.cs

24 lines
907 B
C#
Raw Permalink Normal View History

2020-02-21 16:47:15 -05:00
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...");
2020-02-21 16:49:16 -05:00
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");
2020-02-21 16:47:15 -05:00
Console.WriteLine($"Sentence: {LoremNET.Generate.Sentence(5, 25)}");
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
}
}