Learn C# for beginners: 34 - Searching an Array Using Loops
Вставка
- Опубліковано 13 бер 2015
- If you enjoyed this video please comment below and give me a thumbs up! It goes a long way.
If you want to keep watching these videos make sure to subscribe!
You can contact me at:
Twitter: / jdprogramming
For business Inquires please email at: JDProgramming@Outlook.com
so helpful, thanks a lot
tnks bro
Wow nice explanation
thank you
8:04 thank you for pointing that out! I was struck on that for awhile. I just want one not found, not hundreds. So a boolean solved the problem. It is awkward because I have to write whole new loop just for this little problem. Is there other way to do it?
In for loop 'i = 0; i++' and you compare in this loop (studentName == student[i] ) Why student[i] does not equal students[0, 1, 2, 3, 4] ? seeing that declare i = 0 ?
do you have an example for this in while loop version?
Teoth, you are confusing index of array with content of array. i(index) can be 0,1,2, or 3. Student[0] = "Bob". Student[1]="Ted"...