How can I store delegates (named, anonymous, lambda) in a generic list? Basically I am trying to build a delegate dictionary from where I can access a stored delegate using
Dictionary> fnDict = new Dictionary>(); Func fn = (a) => a + 1; fnDict.Add("1", fn); var re = fnDict["1"](5);