For Loops | C# | Tutorial 20

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2017
  • Source Code - www.giraffeacademy.com/program... This video is one in a series of videos where we'll be looking at programming in C#. The course is designed for new programmers, and will introduce common programming topics using the C# language.
    Throughout the course we'll be looking at various topics including variables, arrays, getting user input, loops, conditionals, object orientation and much more.

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

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

    Damn that was the best description of a for loop I've ever heard - until now each tutorial I've heard just points out they are both loops designed to have more elegant syntax - I never stopped for a second to consider they were purposely made differently. Noob stuff I guess but a great explanation in a short time nonetheless.

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

    Still here! I was stuck on this and your tutorials help out tremdously!! Thank you!

  • @projectvibe1226
    @projectvibe1226 4 ปีที่แล้ว +7

    Those tuts were amazing

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

    Bro you explained it so good so quick … now i get it and can apply it 🙏🏾🙏🏾🙏🏾🙏🏾

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

    thank you for existing

  • @optikospoet8248
    @optikospoet8248 4 หลายเดือนก่อน

    Great teaching. Thank you very much

  • @kiernanslife2209
    @kiernanslife2209 2 ปีที่แล้ว

    underrated tutorials

  • @brendansullivan4872
    @brendansullivan4872 3 ปีที่แล้ว +7

    Awesome video man. I had a quick question. When would you rather use a for loop over a while or do while loop? It seems I havent found a situation where you couldn't use the others for. Thanks again and have a great day.

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

      im pretty sure that for loops are just easier to read since we put the variable, the condition, and we increment the variable on the same line but other than that there is no difference and you can use whatever you like

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

      You could be using a for loop for weapons that shoot more than once on 1 click. (Clockwork assault rifle from terraria for example) Using for loops could make the weapon shoot 3 times and it's a lot less messier than using while loops.

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

    Awesome, thanks a lot bruv.

  • @khojiakbarkhonisakov7785
    @khojiakbarkhonisakov7785 4 ปีที่แล้ว +1

    Awesome thanks

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

    Thank you!!!

  • @monkeyrobotsinc.9875
    @monkeyrobotsinc.9875 3 ปีที่แล้ว +1

    7:12 LOL
    When ur too fast to care!

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

    7:04 oh no, not the numbers!!

  • @monkeyrobotsinc.9875
    @monkeyrobotsinc.9875 3 ปีที่แล้ว +1

    Epic lost numbers! Haha. U rule

  • @akshaychavan7130
    @akshaychavan7130 2 ปีที่แล้ว

    i am from india you teaching well

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

    goed brede houding!

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

    whats the difference actually?

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

      simpler to write and read i guess..

    • @MultiGamingOfficial
      @MultiGamingOfficial 3 ปีที่แล้ว +1

      you write it in one line instead of 5

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

      For loop is used to loop specific numbers.

  • @bojohannesen4352
    @bojohannesen4352 22 วันที่ผ่านมา

    Those are NOT lucky numbers!