Загрузка...

Lists and Arrays in C# and How to Use Them

Lists and arrays in C# are collections used to store multiple variables of the same or different types. This C# beginner tutorial covers how to use lists, how to use arrays, lists vs arrays, and more - perfect for anyone learning how to program in C#.

☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁

Subscribe to the channel ✔️
https://www.youtube.com/channel/UCQzgvO9ALGmBZr75m8OiAiA

CUSTOM SAKURA THEME for Visual Studio: https://www.patreon.com/heightabovesealevel

Click the 🔔 to turn on notifications so you don't miss anything.

Come hang out on DISCORD!
Discord: https://discord.gg/kbBbZrArpK

Other awesome videos worth checking out:

8 Differences Between Game Programming and Regular Programming
https://youtu.be/rKHKt8ye_40

Do You Need Math to Be A Good Programmer?
https://youtu.be/Ts4cvzKhR2k

5 Sneaky Visual Studio Tips in 5 Minutes
https://youtu.be/VkuGGPV9kBo

A tip is always appreciated :)
https://streamelements.com/heightabovesealevel-3984/tip

☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁

There are other types of collections like hashtables, stacks, and queues, but those would require their own videos. Here's the article discussing collections.

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/collections#BKMK_KindsOfCollections

Here's an article if you want to learn more about lists in C#.
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1?view=net-6.0

And here's the article on arrays.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/

Timestamps:

0:00 - Intro

0:48 - Arrays in C#
1:21 - How to Declare An Array in C#
6:44 - Accessing Values Inside An Array
9:42 - Length Property in Arrays
10:30 - Array Methods
11:06 - Sort Method
11:51 - How to Get My Custom Sakura Theme
12:18 - Sort Method (continued)
13:35 - Clear Method
14:59 - Reverse Method
16:03 - IndexOf Method
19:10 - Lists in C#
19:52 - Using Statements
21:35 - How to Declare A List in C#
21:54 - Generics
23:03 - How to Declare A List in C# (continued)
24:35 - Accessing Values Inside A List
25:07 - List Methods
25:25 - Add Method
27:00 - Count Property in Lists
27:52 - Remove Method
29:15 - Contains Method
30:42 - Clear Method
32:05 - Using Lists & Arrays with Fields/Properties
33:31 - Using Lists & Arrays with Methods
34:05 - Using Lists & Arrays with Custom Classes

35:17 - Outro

☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁

Here's my other social media; amazing stuff over there too!

🎮 TWITCH ➼ https://www.twitch.tv/avatarvick
📷 INSTAGRAM ➼ https://www.instagram.com/heightabovesealevel
😂 TWITTER ➼ https://www.twitter.com/Vicktor_Oti (VICKTA)

☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁

🎵 Music provided by:

Argofox:
VIRO - Believe
https://youtu.be/uu0SZBJLO2s​

StreamBeats by Harris Heller
https://www.streambeats.com/

☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁

#programming #collections #learningtocode

Thank you for watching.
Subscribe, and I'll see you in the next video.

Видео Lists and Arrays in C# and How to Use Them канала Height Above Sea Level
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять