Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 26th, 2011  |  syntax: C#  |  size: 0.34 KB  |  views: 87  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     class Program
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             Dictionary<int, Action<string>> dictionary = new Dictionary<int, Action<string>>();
  6.             dictionary.Add(0, new Action<string>("Login"));
  7.         }
  8.         public static void Login()
  9.         {
  10.             Console.WriteLine("Login!");
  11.         }
  12.     }