Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var do = new Dictionary<Func<int, bool>, Action<int>> = {
- {x=>x<5, x=>x=0}
- {_=>true, print(x)}
- }
- int someVal = 5;
- do.First(kv=>k(someVal));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement