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" string
and a "Payload" string[]
, 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#?
I've found a stack overflow answer here where the second part seems plausible but i don't know what I'm referencing with State