Want more features on Pastebin? Sign Up, it's FREE!
Guest

George Mauer

By: a guest on Aug 26th, 2009  |  syntax: C#  |  size: 0.14 KB  |  views: 742  |  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. var do = new Dictionary<Func<int, bool>, Action<int>> = {
  2.   {x=>x<5, x=>x=0}
  3.   {_=>true, print(x)}
  4. }
  5. int someVal = 5;
  6. do.First(kv=>k(someVal));
clone this paste RAW Paste Data