Blazor Devs, Beware of This Looping Error!🔥

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

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

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

    Nothing to do with Blazor per se. This is how C#, lambdas and variable capture work everywhere.

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

    Thank you for sharing. I've not come accross this error yet but now I know what to do if I do.

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

    Why is this the case where both variables are int and therefore value types?

  • @Tamer_Ali
    @Tamer_Ali 7 месяцев назад

    Thanks a lot Patrick

  • @margosdesarian
    @margosdesarian 7 месяцев назад +1

    So does that mean all Lambda expressions use the reference of a var?

  • @williamliu8985
    @williamliu8985 7 месяцев назад

    Is it something called as "closure"?

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

    Thanks.

  • @fruscht
    @fruscht 7 месяцев назад

    Is there another way to pass the parameters without creating local copies of them?

  • @Sander-Brilman
    @Sander-Brilman 7 месяцев назад

    thanks for sharing

  • @shabanelmogy7912
    @shabanelmogy7912 7 месяцев назад +1

    i get this error from two months ago and cannot solve it
    thank you very much for your help

    • @abhayprince
      @abhayprince 7 месяцев назад +1

      Thats because row and col values are not being used right away. Those are being used when we click on the cell, and when we click the cell at that time row and col both have value 3.
      For local copies, when he said var r= row; the row variable was used right away and set current row value to this new variable r

  • @stevesankar3631
    @stevesankar3631 7 месяцев назад

    You are a god, Patrick 😅

  • @rahulstarkindustries2711
    @rahulstarkindustries2711 7 месяцев назад

    Hi patrick , can you please make a video on how can we use ajax in blazor..
    Thanks in advance