patrick wroteAfter one hell of an effort, I'm doing calculators now all bymyself :P
Anyone interested in buying my products ? :P
Ooooh!
var F = new Dictionary<string,Func<int,int,int>>{
{"ADD", ( x, y ) => x + y },
{"SUB", ( x, y ) => x - y }
};
int res = F["ADD"](1, 2);
Long live closures!