Last active
August 29, 2015 14:07
-
-
Save archer884/88803c7d90f789404a72 to your computer and use it in GitHub Desktop.
Simplifies management and decision-making processes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace ChoiceMaker | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
if (!args.Any()) | |
{ | |
Console.WriteLine("Please provide some options."); | |
return; | |
} | |
Console.WriteLine(args[new Random().Next(args.Length)]); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment