en
Wouter de Kort

Exam Ref 70–483: Programming in C#

Avisarme cuando se agregue el libro
Para leer este libro carga un archivo EPUB o FB2 en Bookmate. ¿Cómo puedo cargar un libro?
Este libro no está disponible por el momento.
580 páginas impresas
¿Ya lo leíste? ¿Qué te pareció?
👍👎

Citas

  • Mike Petrov-Vodkincompartió una citahace 7 años
    The SynchronizationContext abstracts the way these different applications work and makes sure that you end up on the right thread when you need to update something on the UI or process a web request
  • Mike Petrov-Vodkincompartió una citahace 7 años
    public Task SleepAsyncA(int millisecondsTimeout)
    {
    return Task.Run(() => Thread.Sleep(millisecondsTimeout));
    }
    public Task SleepAsyncB(int millisecondsTimeout)
    {
    TaskCompletionSource<bool> tcs = null;
    var t = new Timer(delegate { tcs.TrySetResult(true); }, null, -1, -1);
    tcs = new TaskCompletionSource<bool>(t);
    t.Change(millisecondsTimeout, -1);
    return tcs.Task;
    }
  • Mike Petrov-Vodkincompartió una citahace 7 años
    You should use the Parallel class only when your code doesn’t have to be executed sequentially

En las estanterías

fb2epub
Arrastra y suelta tus archivos (no más de 5 por vez)