using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { // for loop = repeats some code a FINITE amount of times // Count up to 10 for (int i = 1; i 0; i--) { Console.WriteLine(i); } Console.WriteLine("HAPPY NEW YEAR!"); Console.ReadKey(); } } }
@jobsefreeАй бұрын
I just like the way you simplify the complex concepts
@GonConDon10 ай бұрын
Easy to understand. Thanks!!
@ZonbiNed Жыл бұрын
i'm currently learning C# using an app and it was working great till they got to loops this helped me so much
@tubetimeline Жыл бұрын
Once again great tutorial Bro! One word of caution for my fellow coder friends watching, you can accidentally create an infinite loop with a For loop. If you set your condition to something like x
@FarhanAli-zb4iv2 жыл бұрын
Good precise videos 👍👍👍
@Avolali Жыл бұрын
Finally a tutorial that is easy for me to follow. Thank you so much 😄
@English9725 ай бұрын
me too 🥲
@spartanranger3 жыл бұрын
Thanks for the video bro.
@maris6843Күн бұрын
Teaching me more than my $1,500 class I'm taking.
@turkyt7 ай бұрын
I love your video ❤❤❤ 0:24 better than my teacher 0:45 so so love for you bro ❤❤
@yuma-zv4yh8 ай бұрын
you are so good man bro👌👌
@jobsefreeАй бұрын
Happy New Year Sirji
3 жыл бұрын
Thanks!
@bruhman8743 жыл бұрын
Nice i can now create a time bomb
@Jakey_Boy-lt6uw2 жыл бұрын
you can what
@mmmnn13242 ай бұрын
Thank you, now I understand
@Amine_XD Жыл бұрын
thank you a lot habibi
@definitelynotchris47764 ай бұрын
c# for president
@thismakesnosense Жыл бұрын
Four loops? You only explained one.
@SewpsYT9 ай бұрын
he said "for" loops.
@bonebreakingmarathon65508 ай бұрын
@@SewpsYT r/whoosh
@khumalo661924 күн бұрын
😂😂😂
@M4LAZE2 жыл бұрын
MAKE A VIDEO ON HOW TO PRINT SHAPE LIKE DIAMOND NUMBERS AND ALPHABETS
@mediumwaffle805210 ай бұрын
if you have multiple for loops, can you use "int i" for every one? or do you need a new variable name
@iamstevenadam2 жыл бұрын
Wowww
@Oscar.02497 ай бұрын
Bro for president!!!!!!!!!!
@nicholasfellman135122 күн бұрын
Hi! before you reached the for loop #2 i tried testing myself and trying the code without using you as a guide and reached for (int i = 10; i > -1; i -= 1) { Console.WriteLine(i); if (i == 0) { Console.WriteLine("happy new year"); is this good also? or is the if statement unneccesary? is it used in some cases? etc. thankyou.