Тёмный

Access Modifiers in C# and How to Use Them 

Height Above Sea Level
Подписаться 1,3 тыс.
Просмотров 625
50% 1

Access modifiers in C# control how code is accessed in an application. These can either be private, public, protected, internal, or protected internal.
This C# beginner tutorial covers how to use access modifiers, the types of access modifiers that exist, encapsulation, and more, perfect for anyone learning how to program in C#.
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Subscribe to the channel ✔️
/ @heightabovesealevel
CUSTOM SAKURA THEME for Visual Studio: / heightabovesealevel
Click the 🔔 to turn on notifications so you don't miss anything.
Come hang out on DISCORD!
Discord: / discord
Other awesome videos worth checking out:
Classes - C# Beginner Tutorial
• Classes in C# and How ...
Do You Need Math to Be A Good Programmer
• Do You Need Math to Be...
Conditional Statements - C# Beginner Tutorial
• Conditional (If/Else/S...
A tip is always appreciated :)
streamelements.com/heightabov...
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Access modifiers also play a part when it comes to encapsulation - a term I discuss in the video.
The four most common ones are the public access modifier, the private access modifier, the protected access modifier, and the internal access modifier.
Here's the article covering "protected internal" and "private protected" access modifiers.
docs.microsoft.com/en-us/dotn...
Timestamps:
0:00 - Intro
0:46 - Types of Access Modifiers in C#
1:33 - Public Access Modifier
2:25 - Namespaces in Older Versions of Console Applications
3:13 - Testing Public Access Modifier
5:13 - Private Access Modifier
5:44 - How to Get My Custom Sakura Theme
6:13 - Testing Private Access Modifier
8:41 - Encapsulation
9:41 - Introduction to Fields in C#
11:35 - Protected Access Modifier
12:00 - Inheritance
15:50 - Testing Protected Access Modifier
18:37 - Using Access Modifiers with Getters and Setters
19:04 - Default Acess Modifier When None Specified
20:27 - Internal Access Modifier
23: 29 - Outro
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
Here's my other social media; amazing stuff over there too!
🎮 TWITCH ➼ / avatarvick
📷 INSTAGRAM ➼ / heightabovesealevel
😂 TWITTER ➼ / vicktor_oti (VICKTA)
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
🎵 Music provided by:
Argofox:
VIRO - Believe
• VIRO - Believe [Argofo... ​
StreamBeats by Harris Heller
www.streambeats.com/
☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁☁
#programming #accessmodifiers #learningtocode
Thank you for watching.
Subscribe, and I'll see you in the next video.

Наука

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@foxandeyes
@foxandeyes Год назад
best coding tutorial series I've ever found. please do more of these!
@HeightAboveSeaLevel
@HeightAboveSeaLevel Год назад
Thank you! I'm glad you're enjoying the series. I'm currently on a hiatus from making content, but I do hope to get back to uploading RU-vid videos sometime in the future.
@icediver6
@icediver6 Год назад
Thank you. Great videos. Easy to understand explanations. Keep up the good work.
@HeightAboveSeaLevel
@HeightAboveSeaLevel Год назад
You're welcome.
@dutchiewonderz6553
@dutchiewonderz6553 5 месяцев назад
Just a suggestion that I hope you don't mind. Would you consider removing the rotating promotion on the right side of the video? I am happy to follow or support your channel, but that animation is absolutely distracting and might not be well suited in a video where people are tying to concentrate on the content you're providing.
@HeightAboveSeaLevel
@HeightAboveSeaLevel 5 месяцев назад
Thanks for the feedback.
Далее
NAME THE EURO 2024 PLAYER OR SWIM 💦
00:35
Просмотров 11 млн
Lists and Arrays in C# and How to Use Them
36:08
How Do I Become a Back-End Developer in C#
17:58
Просмотров 21 тыс.
Are headphones destroying our hearing?
6:49
Просмотров 236 тыс.
Dates and Times in C# and How to Use Them
22:16
Rust is not a faster horse
11:37
Просмотров 319 тыс.
My First Unity Game
2:53
Просмотров 158
Телефон в воде 🤯
0:28
Просмотров 1,2 млн
Неразрушаемый смартфон
1:00
Просмотров 1,6 млн