I have the function in javascript which is something like
dothis(variablea, function(somevalue) {
..
});
which comes from function dothis(variablea, callback) {..}
So I want to fire dothis
then callback the callback function later, when I get a response from a server.
How would I go about implementing something like this in C#, I've had a look at a couple of examples but I would like to pass the callback function directly into the method. Is this possible?