While loop c# example explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 7

  • @HA-fq5xc
    @HA-fq5xc 3 ปีที่แล้ว +1

    From Saudi Arabia thank you so much for your clear explanation 🌹

  • @Atezian
    @Atezian ปีที่แล้ว +2

    This is a great tutorial. Thankyou sir.

  • @ajinkyainnovations
    @ajinkyainnovations 3 ปีที่แล้ว

    hello sir I am from india and I have some queries of android app development. But I don't have your email address and your web site is down. So please suggest me How to connect with. Thanks.
    Regards
    vitthal pisal

  • @kukkakaali1751
    @kukkakaali1751 3 ปีที่แล้ว

    Hello! I tried the first example and for me it stopped at 25, 30 didnt get printed. Doesnt < 30 mean that 30 will not be reached and the loop would end at 29 or in this case 25.. Not sure to understand!

    • @basmaabouzeina6523
      @basmaabouzeina6523 ปีที่แล้ว

      the result depends on the order
      if the order in the loop body is to print and then increase the value
      {
      Console.WriteLine("x=" + x);
      x = x + 5;

      }
      then it will stop at 25
      if it's increasing the value then printing
      {
      x = x + 5;
      Console.WriteLine("x=" + x);
      }
      it will stop at 30