cs-codex-dist-tests/Tools/BiblioTech/RandomBusyMessage.cs

26 lines
731 B
C#
Raw Normal View History

2023-11-02 11:30:48 +00:00
namespace BiblioTech
{
public static class RandomBusyMessage
{
private static readonly Random random = new Random();
private static readonly string[] messages = new[]
{
"Working on it...",
"Doing that...",
"Hang on...",
"Making it so...",
"Reversing the polarity...",
"Factoring the polynomial...",
"Analyzing the wavelengths...",
"Charging the flux-capacitor...",
"Jumping to hyperspace...",
"Computing the ultimate answer..."
};
public static string Get()
{
2023-12-18 10:27:28 +00:00
return "Hold on: " + messages[random.Next(messages.Length)];
2023-11-02 11:30:48 +00:00
}
}
}