C# foreach loop ➰

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

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

  • @BroCodez
    @BroCodez  3 ปีที่แล้ว +14

    using System;
    namespace MyFirstProgram
    {
    class Program
    {
    static void Main(string[] args)
    {
    // foreach loop = a simpler way to iterate over an array, but it's less flexible
    String[] cars = {"BMW", "Mustang", "Corvette"};
    foreach (String car in cars)
    {
    Console.WriteLine(car);
    }
    Console.ReadKey();
    }
    }
    }

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

    This helped a lot. I'm new to programming in general and the syntax made my head want to explode when I was reading it. But this made it really simple.

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

    The fastest and clearest explanation I've seen on Yt.

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

    I scored a 100 on my C# programming assignment, thanks a lot bro code

  • @NotTheHeroStudios
    @NotTheHeroStudios ปีที่แล้ว +8

    You explained that better in a minute than I've seen a course do in ten. Nice, my ADD thanks you

  • @spartanranger
    @spartanranger 3 ปีที่แล้ว +11

    Thanks for the video Bro.

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

    Nice Car choice .

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

    you are literally great bro you helped me with my exams😂 shout out❤

  • @kingtyphoon
    @kingtyphoon 11 หลายเดือนก่อน

    Awesome and down to earth video!

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

    Why do you use String instead of string (with small s)?

  • @arsenicc667
    @arsenicc667 8 หลายเดือนก่อน

    je parle pas anglais but wallah you are the goat

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

    Great video my man.

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

    Superb explain some video's i has been see explaination was veryyyyyyyyyy lagggggg

  • @tomgodsalo7062
    @tomgodsalo7062 2 หลายเดือนก่อน

    good video

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

    you are godsent

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

    Thanks!

  • @NehaSingh-jq1mx
    @NehaSingh-jq1mx ปีที่แล้ว

    Thanks

  • @definitelynotchris4776
    @definitelynotchris4776 19 วันที่ผ่านมา

    foreach(video in C# tutorial for begginers)
    {
    Console.Write("Thank You!");
    }

  • @thusharapriyakalum3834
    @thusharapriyakalum3834 9 หลายเดือนก่อน

    ❤❤❤

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

    thanks!

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

    lets goooo

  • @ahmedhassan5783
    @ahmedhassan5783 11 หลายเดือนก่อน

    done

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

    noice

  • @simik4830
    @simik4830 16 วันที่ผ่านมา

    for algorithm!!

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

    lesson check😇

  • @rihno4046
    @rihno4046 7 หลายเดือนก่อน

    I should just learn python

  • @kasmilos8507
    @kasmilos8507 7 หลายเดือนก่อน

    "Random comment"

  • @the_dude_josh
    @the_dude_josh 10 หลายเดือนก่อน

    random comment down below

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

    downBelow

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

    Console.WriteLine(randomComment); //assume declaration & initialization :D

  • @YourAnimeEditsツ
    @YourAnimeEditsツ ปีที่แล้ว

    THANKS.

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

    Thanks!