DATA STRUCTURES - How to work with arrays? (C# for beginners) - Arrays explained in 40 minutes!

preview_player
Показать описание
In this programming tutorial for beginners, we'll break down everything you need to know about arrays in C#.
You will learn what is array data structure and understand the basics of arrays, C# array declaration, and array initialization.
While creating your first array, you will learn how to add elements to the array and how to loop through elements in the array.
I will also show you the most common errors when working with arrays and how to perform different calculations on data stored in the array.

If you want to gain more practical experience in building real apps and get career-ready skills, join my Practical Programming Course below.

Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

📚 Learn programming with these Free E-Books ⬇

RELATED VIDEOS:

CONTENTS:
00:36 - What is an array
01:19 - Let's create a calorie tracker application
02:39 - Where to learn programming on practical examples
04:18 - How to initialize an array
07:30 - How to programmatically insert data into an array
15:02 - Iterating through an array using loops
21:53 - Performing calculations on arrays data
38:05 - Most common error (Index out of range)

Add me on:
Рекомендации по теме
Комментарии
Автор

📚 Learn how to solve problems and build projects with these Free E-Books ⬇
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

CodeBeauty
Автор

Great video!
Just want to add a supplemental note: when looping through an array, using a 'for' loop as shown in this video is how to do it if you need to modify values of the elements. You can also use a 'foreach' loop, which is nice for reading element values...but if you try to modify a value it isn't actually modifying that element of the array, because the item inside the loop is actually a different object.
For example:
foreach (var thing in myArray){
thing = 5;
}
The values of the elements in the array will not be changed to 5 because 'thing' is a new object separate from the array itself.

ikasugami
Автор

my beautiful teacher in the whole world

mehrdad
Автор

for those who are worried about programming, saldina will take care of everything. KEEP GOING!

AbroadStudent-cu
Автор

very elaborated case study project. thank you

naboulsikhalid
Автор

thank you so much please dive into delegate, event and eventlisteners❤

dyinglights
Автор

Please could you do DSA full course by using c and c++ for cp...

MotiAbe-
Автор

waiting for the next array topic video!

venkateshanap
Автор

We need data structures and algorithm courses please 🙏 😢

karimamia
Автор

please create a digital marketing course 💗👍🏻

iamvickey_
Автор

mam I need c++ in pratical programming course but it to much cost I am a student

cric.cricket
Автор

I didn't expected that any programmer girl can be this much beautiful and gorgeous ❤

Rishi-xjiy
Автор

I watch your channel because of your beauty.

scottnixon
Автор

Code Beauty? Are you saying that code or yourself is beautiful?

davidspanton
Автор

please stop putting your photos on your tutorial videos so I will no longer be tempted to ask you out

benspencer
Автор

By looking at you, one can tell you surely WORK OUT 😂

awaismushtaq
Автор

Explain arrays to me over a candlelit dinner.

JakubSK