callback in a parameter c# code example
Example: c# callback param
public void DoRequest(string request, Action<string> callback)
{
// do stuff....
callback("asdf");
}
public void DoRequest(string request, Action<string> callback)
{
// do stuff....
callback("asdf");
}