public static void CallBack(IAsyncResult result) { Play handler = (Play)((AsyncResult)result).AsyncDelegate; handler.EndInvoke(result); Console.WriteLine(result.AsyncState); }
public static void CallBack(IAsyncResult result) { Play handler = (Play)((AsyncResult)result).AsyncDelegate; handler.EndInvoke(result); Console.WriteLine(result.AsyncState); }