Master C# async/await with Concurrency Like a Senior

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 33

  • @ignars3714
    @ignars3714 9 месяцев назад +1

    I want to add a small clarification. At 39:46, we need to add Task.FromResult in the same line where Task.Delay was, to better understand the difference. (The intention was clear, but in the order shown on the screen, the same thread would be displayed even if Task.Delay were there)

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  9 месяцев назад +1

      Hey, thanks for your comment. If the intention is clear, it means, there is no problem

  • @trlanusubov4862
    @trlanusubov4862 11 месяцев назад +1

    Perfetto, very nice explanation . As you mentioned in title "LIKE A SENIOR"

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  11 месяцев назад

      I appreciate you taking the time to watch and comment, Tarlan. I'm happy you enjoyed it!

  • @jarosawpurchawka5236
    @jarosawpurchawka5236 Год назад +5

    I appreciate your hard work, keep it up. Best wishes

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  Год назад

      Thank you so much! I'm glad my hard work is making a difference.

  • @CodingMindsMadrid
    @CodingMindsMadrid 6 месяцев назад +2

    it would be great if you could make a video about how to prepare for a C# Interview with the type of coding questions that the interviewers may ask, thanks for your contribution to the comunity! greetings from Madrid, Spain!

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  6 месяцев назад

      Thank you for the suggestion! I'll definitely consider making a video on preparing for a C# interview with coding questions.

  • @Ljupco20
    @Ljupco20 2 месяца назад

    Wow, great explanation. 🙌

  • @KENANAMIRLi-g8i
    @KENANAMIRLi-g8i 11 месяцев назад +1

    When movenext function calling. first it calling it if Task.Iscompleted then same thread over the process but if task.iscompleted ==false how it again call movenext?

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  11 месяцев назад +1

      Hi Kanan, Thank you very much for your message. Great question. Please check 34:11 to see the answer. The simple answer is: There is an if..else condition and "AwaitUnsafeOnCompleted" internally calls MovesNext again by referring to the same instance

  • @sergeixtc
    @sergeixtc Год назад +2

    really good explanation! 👌keep up with this amazing videos

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  Год назад

      Your kind words mean a lot! I'm happy I could make the video helpful and interesting.

  • @rahimliparviz
    @rahimliparviz 11 месяцев назад +1

    Salam Tural bəy, bu prosesi bir növ "async" lə başlayan ilk methodun daxilindekileri recursive olaraq çağırması kimide başa düşmek olar?

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  11 месяцев назад +1

      Salam Pərviz bəy. Rekursivlik əvəzinə "state machine" məntiqi istifadə olunur. Bu isə sadə bir if..else-dir. Amma bəli, çağrılma mexanizmi rekursiyaya bənzəyir

  • @ivanchukayev6547
    @ivanchukayev6547 5 месяцев назад +1

    What a great explanation!

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  5 месяцев назад +1

      Thank you very much! You may consider my russian language channel (TuralSuleymaniTech RU) which I have launched recently

    • @ivanchukayev6547
      @ivanchukayev6547 5 месяцев назад

      @@TuralSuleymaniTech Cool! Is it a neuron net translated channel?

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  5 месяцев назад

      Nope, that is actually me speaking in russian and recording everything from scratch

  • @JayC-sn5fu
    @JayC-sn5fu 6 месяцев назад +1

    Great explanation!

  • @TheMrhenon
    @TheMrhenon 7 месяцев назад +2

    Great video!

  • @JackFord322
    @JackFord322 11 месяцев назад +1

    Any plans on discussing ValueTasks?

  • @KaranSingh-v7t3y
    @KaranSingh-v7t3y 11 месяцев назад +2

    Keep Posting,

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  11 месяцев назад +1

      Hey Karan, thank you for being a valuable member of our channel. Of course, we have scheduled another interesting video on C# + Microservices for tomorrow.

  • @karimovanar
    @karimovanar 9 месяцев назад +1

    Salam Tural necesen ugurlar arzulayiram davami gelsin

  • @vadimemelin2941
    @vadimemelin2941 4 месяца назад

    Keep cooking

    • @vadimemelin2941
      @vadimemelin2941 4 месяца назад

      Wait, but what about ConfiugreAwait(false)?

    • @TuralSuleymaniTech
      @TuralSuleymaniTech  4 месяца назад

      hey, we have another tutorial in our channel called "Async UI" that explains ConfigureAwait(false)