using System.Collections.Generic;
public static void Main()
Random rnd = new Random();
Dictionary<int, int> dict = new Dictionary<int, int>();
dict.Add(rnd.Next(1, 21), rnd.Next(1, 10001));
Console.WriteLine("Please input a integer:");
string x = Console.ReadLine();
if (dict.ContainsKey(num)) {
Console.WriteLine("You earned dollars!" +dict[num]);
Console.WriteLine("BANG! You die!");}