Learn C# for beginners: 33 - Using Loops with Arrays

  Рет қаралды 17,653

Jesse Dietrichson

Jesse Dietrichson

Күн бұрын

Пікірлер: 14
@MichaelLee-bk2ii
@MichaelLee-bk2ii 7 жыл бұрын
i knew nothing about programming and I just wanna say thank you for making such great tutorials that teach people like me from zero. I feel your passion in each single lesson and you just illustrate what you wanna convey very clearly! I'm learning more and more because of you! thank you so much!
@leonlyan8953
@leonlyan8953 4 жыл бұрын
This is an truly underrated channel! Deserved more than this! Well explanation! Good job mate!
@MicrowaveDj_
@MicrowaveDj_ 2 жыл бұрын
this dude deserves all happiness
@majorbeats1775
@majorbeats1775 2 жыл бұрын
I just love the way you explain things
@majorbeats1775
@majorbeats1775 2 жыл бұрын
You just earned a subscriber!😇🙏🏻
@МарияИванова-ф6т2ь
@МарияИванова-ф6т2ь Жыл бұрын
Brilliant! Thanks for explaining so understandable!
@laCHU51
@laCHU51 6 жыл бұрын
Awesome tutorials .Thank you so much
@pervysage3177
@pervysage3177 4 жыл бұрын
What if you want to multiply all the grades?
@SamTheTvvit
@SamTheTvvit 9 жыл бұрын
This confused the hell out of me. how is "i" connected to the Array? i understand "i = 0" so show array 0, then i++ makes "i"'s value go to 1, so now show Array 1. But Why does it do that? Grades is not in the "for" and "i" is not in the grades. How are they connected?. All I see is "Console.WriteLine(grades[i]);" but grades[#] are all numbers. Is it because i = 0 so there is a shared value of 0 so it starts at 0?
@JesseDietrichson
@JesseDietrichson 9 жыл бұрын
+samazin(g) Basically my point is that loops and arrays work well together. Arrays have an index (0-n) and a for loop has a counter variable that goes from (0-n). Because of that it allows you to go through the entire array very quickly and easily.
@Gamez4eveR
@Gamez4eveR 5 жыл бұрын
while the for loop is being executed, it counts up its integer i, the i is then used to determine which value from the array it should extract, the i only exists inside the loop, where then it is applied to the array
@slapmyfunkybass
@slapmyfunkybass 4 жыл бұрын
Very well demonstrated video. I worked as a C# developer for a few years and moved to Java, so it’s handy watching these as a refresher. I never knew the foreach declared variable is read only. I always saw it as holding not the value of the array item but its position, grades[0] etc, that’s why it can’t be amended. Thanks for the info and time making this.
@talalbyt
@talalbyt 6 жыл бұрын
You can add extra marks when using foreach by doing this Console.WriteLine(score + 3);
@Nagat0
@Nagat0 2 жыл бұрын
you are so cute
Learn C# for beginners: 34 - Searching an Array Using Loops
18:33
Jesse Dietrichson
Рет қаралды 15 М.
What are Loops? (C# Basics, for, while, do)
14:46
Code Monkey
Рет қаралды 30 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 6 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 9 МЛН
[BEFORE vs AFTER] Incredibox Sprunki - Freaky Song
00:15
Horror Skunx 2
Рет қаралды 19 МЛН
Learn C# for beginners: 42 -  Pass by Reference vs Pass by Value
16:54
Jesse Dietrichson
Рет қаралды 21 М.
C# nested loops ➿
5:04
Bro Code
Рет қаралды 38 М.
Methods | C# | Tutorial 12
11:00
Giraffe Academy
Рет қаралды 57 М.
you will never ask about pointers again after watching this video
8:03
6.3 Iteration: Nested Loops - Learning C#
10:17
ParametricCamp
Рет қаралды 8 М.
Learn C# for beginners: 54 -  Get and Set Methods
16:44
Jesse Dietrichson
Рет қаралды 30 М.
C# multidimensional arrays ⬜
5:06
Bro Code
Рет қаралды 50 М.
Here Is Why HashSet Is So Fast in .NET
26:24
Zoran Horvat
Рет қаралды 8 М.
Learn C# for beginners: 32 -  Creating an Array
12:22
Jesse Dietrichson
Рет қаралды 6 М.