var do = new Dictionary, Action> = { {x=>x<5, x=>x=0} {_=>true, print(x)} } int someVal = 5; do.First(kv=>k(someVal));