C# Beginners Tutorial – 13 – For and Foreach Loop

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

36 responses to “C# Beginners Tutorial – 13 – For and Foreach Loop”

  1. Logry Mad Avatar

    hi bucky, I had hard times in making program in C# using windows form application that can increment if you answer correctly for at list 5 questions and print out to textbox, or if you answer 2 times incorrectly, the textbox will print out also in 2. thanks a lot

  2. Siyamand Rashid Avatar

    the videos are good , but the Audio is very low !!, if you can fix it will be great..

    regards and thanks for your efforts.

  3. Hriday Keswani Avatar

    Why are you obsessed using the name Adam?

  4. S B Avatar

    If you wanted to do a loop that never ends could you just do a while loop? Kinda scared to try it as it may keep opening up text boxes and stuff then that might be a problem.XD

  5. havocpl31 Avatar

    This explains nothing at all… Not even the most common reason for using the for loop which increases the value with ++ command or decreases with —

  6. EzIsReel Avatar

    no offense man but creating the stuff you are doing and then running it through message box isn't useful. you have 13 tutorials so far of the same stuff. this tutorial is lacking the ability to show how to use these in actual format. The way you are showing how to use these operations are useless. there is no "depth"

  7. Aaron Kalat Avatar

    @3:20: How to create your first virus :)~

  8. xManOnFire Avatar

    Wow i'm really impressed by the size of your video 1080 < 6MB, how do you make it that size? -_-

  9. Charles Paroissien Avatar

    +elbnderi C# is case sensitive

  10. M. Mohammad Avatar

    So your are not supposed to type

    foreach(string s in names.Controls)???

    becaue i once used it with pictureboxes that i had in a panel, since a panels controls everything thats in it i wrote…

    foreach(PictureBox picture in Cardsholder.Controls)

    when do we use "Controls" and what is it????

  11. James Bennett Avatar

    So in the For Each loop When you add the Singular letters they are sort of temporary placeholders until changed ? 

  12. Ken Gao Avatar

    Nice Job, Adam, thanks a lot

  13. Paul Paulson Avatar

    You explained this really well. Thank you!

  14. EnorusLoL Avatar

    Why isn't he using code snippets?

  15. Ahmad Azizov Avatar

    yea, just remove the part that comes after "+"(including +). MessageBox.Show("Hello");

  16. siter knowers Avatar

    loop it a million times, and send it to you're friend 😀

  17. Amr Ouf Avatar

    You can type i+=2 or i+=2 or i = i + 1000 which is equivalent to i+= 1000

  18. RiiBzxX Avatar

    ++ = +1.

    So just go +2, or +912123.123131 and so on. Watch the mathematical operators tutorial.

  19. Jason Villanueva Avatar

    This is what I put down on the line for the 3 sections.
    for (int i = 10000; ; i + 10000)

  20. Jason Villanueva Avatar

    How can I go up by increments greater than 1?

  21. BlakeTheModder Avatar

    THANK YOU, I understand C# pretty well but I could never figure out what that dang for and for each meant! Your tutorials help me so much in my coding, I am soon to make games in XNA so I'm studying in every way I can.

  22. Ahsan Jamal Avatar

    just add int brfore i like (int i=0;i<5;i++)

  23. Albanderi Avatar

    Thanx for the clarification.. It was helpful..

  24. josh VÈVO Avatar

    If i had money, id give some to you :3

  25. Albanderi Avatar

    what is the difference between "string" and "String" in C#?

  26. Gautam Grover Avatar

    Very Good Tutorial ….. Thanks Alot….

  27. LosEagle Avatar

    @ctcon77 Arrays do not resize dynamically. The List type in the C# language does. With List, you do not need to manage the size on your own. This type is ideal for linear collections not accessed by keys. It provides many methods and properties.// found this on google 🙂

  28. Jay Estremera Avatar

    Thanks for putting the time into making this. Appreciate all of your effort.

  29. walkerneo Avatar

    You should explain that the "+" operator become the concatenation operator when used with strings.

  30. Daniel Scott Avatar

    @arturoguillen1987 Yes, I do. For some reason, maybe because I have an ancient computer, the error list stays the same for like 30 seconds after I make a correction.

  31. Daniel Scott Avatar

    I hate VS, it throws up errors for no reason, and after I restart, everything's cool.

  32. Ahmed Soliman Avatar

    @gxlaire watch at 720p quality ,, It will be crystal clear ,, 1080p quality has something wrong on my screen resolution

  33. Gerald Jr. Basco Avatar

    Ouch my eyes! even in full video mode still not that clear.. how to make this clearer anyone? thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *