title: Is it possible to store functions in a dictionary?
body: <p>I have a message coming into my C# app which is an object serialized as JSON, when i de-serialize it I have a "Name" <code>string</code> and a "Payload" <code>string[]</code>, I want to be able to take the "Name" and look it up in a function dictionary, using the "Payload" array as its parameters and then take the output to return to the client sending the message, is this possible in C#? </p>
  
  <p>I've found a stack overflow answer <a href="https://stackoverflow.com/a/4233866/1770012">here</a> where the second part seems plausible but i don't know what I'm referencing with <code>State</code></p>