private static void WriteCallback(IAsyncResult asyncResult) { LazyAsyncResult userResult = (LazyAsyncResult) asyncResult.AsyncState; ((ConnectStream) userResult.AsyncObject).ProcessWriteCallback(asyncResult, userResult); }