bookmate game
en
Wouter de Kort

Exam Ref 70–483: Programming in C#

Obavesti me kada knjiga bude dodata
Da biste čitali ovu knjigu otpremite EPUB ili FB2 datoteku na Bookmate. Kako da otpremim knjigu?
Ova knjiga je trenutno nedostupna
580 štampanih stranica
Da li već pročitali? Kakvo je vaše mišljenje?
👍👎

Citati

  • Mike Petrov-Vodkinje citiraoпре 7 година
    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-Vodkinje citiraoпре 7 година
    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-Vodkinje citiraoпре 7 година
    You should use the Parallel class only when your code doesn’t have to be executed sequentially

Na policama za knjige

fb2epub
Prevucite i otpustite datoteke (ne više od 5 odjednom)