using System.Collections.Generic;
public static void Main()
Dictionary<string, DateTime?> killers = Program.LoadKillers();
if (!Program.IsKillerOfWomen(killers, "Jeremy Gibson")) {
Console.WriteLine(Program.Safe());
Console.WriteLine(Program.BegForLife());
private static Dictionary<string, DateTime?>LoadKillers()
Dictionary<string, DateTime?> killers = new Dictionary<string, DateTime?>();
killers.Add("Jack The Ripper", null);
killers.Add("Ted Bundy", new DateTime(1978));
killers.Add("Gary Ridgeway", new DateTime(2001));
killers.Add("Carl Eugene Watts", new DateTime(1982));
killers.Add("David Birnie", new DateTime(1986));
private static bool IsKillerOfWomen(Dictionary<string, DateTime?> killers, string name)
return killers.ContainsKey(name);
private static string Safe()
private static string BegForLife()
return "Please don't kill me!";