c# pass function to another class 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");
}