RandomBusyMessage.cs
1 namespace BiblioTech 2 { 3 public static class RandomBusyMessage 4 { 5 private static readonly Random random = new Random(); 6 private static readonly string[] messages = new[] 7 { 8 "Working on it...", 9 "Doing that...", 10 "Hang on...", 11 "Making it so...", 12 "Reversing the polarity...", 13 "Factoring the polynomial...", 14 "Analyzing the wavelengths...", 15 "Charging the flux-capacitor...", 16 "Jumping to hyperspace...", 17 "Computing the ultimate answer...", 18 "Turning it off and on again...", 19 "Compiling from sources..." 20 }; 21 22 public static string Get() 23 { 24 return "(⏳): " + messages[random.Next(messages.Length)]; 25 } 26 } 27 }