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(); } } }
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.
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();
}
}
}
bro past code in the comments 💀
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.
The fastest and clearest explanation I've seen on Yt.
I scored a 100 on my C# programming assignment, thanks a lot bro code
You explained that better in a minute than I've seen a course do in ten. Nice, my ADD thanks you
Thanks for the video Bro.
Nice Car choice .
you are literally great bro you helped me with my exams😂 shout out❤
Awesome and down to earth video!
Why do you use String instead of string (with small s)?
je parle pas anglais but wallah you are the goat
Great video my man.
Superb explain some video's i has been see explaination was veryyyyyyyyyy lagggggg
good video
you are godsent
Thanks!
Thanks
foreach(video in C# tutorial for begginers)
{
Console.Write("Thank You!");
}
❤❤❤
thanks!
lets goooo
done
noice
for algorithm!!
lesson check😇
I should just learn python
"Random comment"
random comment down below
downBelow
Console.WriteLine(randomComment); //assume declaration & initialization :D
THANKS.
Thanks!