Skip to content

Instantly share code, notes, and snippets.

@archer884
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save archer884/88803c7d90f789404a72 to your computer and use it in GitHub Desktop.
Save archer884/88803c7d90f789404a72 to your computer and use it in GitHub Desktop.
Simplifies management and decision-making processes
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