Playback starts YouTube’s embedded player (privacy-enhanced mode).
[C#] Properties & Accessors Tutorial with Examples | get, set & value keywords in C#
ChannelRetroTK2Description from the creator
Today, you'll learn all about Properties in C#
We'll take a look at MSDN's definition of a property.
Then we'll look at some of the more primitive ways of accessing a private field, using standard class methods.
After that, we'll declare our very own property, complete with 'getter' and 'setter' accessors.
And finally, we'll access our property in a class.
We'll also be looking at the 'get', 'set' and 'value' keywords, and we'll look at the Microsoft doc's explanation of them.
Plus we also take a look at auto-implemented properties
As always Ace, I want to thank you so much for your continued support, with your comments, ratings and subscriptions. It really means a lot to me and keeps me motivated to create these videos for you.
Enjoy :)
[ Info ]
Email ~ [email protected]
Music ~ [Lensko - Heaven] youtube.com/watch?v=T3iSD8L0MUo
Subscribe ~ youtube.com/channel/UC1Ff3gOuY3FiijhhjFZmKAw?su…
Share Video ~ youtu.be/_jbdVayepNE
Channel Files Git ~ gitlab.com/RetroTK2/Channel-Files.git
Channel Files ~ gitlab.com/RetroTK2/Channel-Files/repository/ar…
We'll take a look at MSDN's definition of a property.
Then we'll look at some of the more primitive ways of accessing a private field, using standard class methods.
After that, we'll declare our very own property, complete with 'getter' and 'setter' accessors.
And finally, we'll access our property in a class.
We'll also be looking at the 'get', 'set' and 'value' keywords, and we'll look at the Microsoft doc's explanation of them.
Plus we also take a look at auto-implemented properties
As always Ace, I want to thank you so much for your continued support, with your comments, ratings and subscriptions. It really means a lot to me and keeps me motivated to create these videos for you.
Enjoy :)
[ Info ]
Email ~ [email protected]
Music ~ [Lensko - Heaven] youtube.com/watch?v=T3iSD8L0MUo
Subscribe ~ youtube.com/channel/UC1Ff3gOuY3FiijhhjFZmKAw?su…
Share Video ~ youtu.be/_jbdVayepNE
Channel Files Git ~ gitlab.com/RetroTK2/Channel-Files.git
Channel Files ~ gitlab.com/RetroTK2/Channel-Files/repository/ar…
About this tutorial
RetroTK2 published this 8:40 video tutorial on November 2, 2017. It has been watched 45,607 times on YouTube.
Share
This tutorial in other languages
- FR[C #] Propriétés et accesseurs tutoriel avec exemples | get, set et valeur des mots-clés en C #
- ES[C #] Propiedades y descriptores de acceso tutorial con ejemplos | get, set y de valor clave en C #
- PT[C #] Propriedades & Accessors Tutorial com Exemplos | Get, Set & valor palavras-chave em C #
- IT[C #] Properties & accessor tutorial con esempi | ottenere, set & value parole chiave in C #
- DE[C #] Properties & Accessoren Tutorial mit Beispielen | erhalten, Set & Wert Schlüsselwörter in C #
- NL[C #] Properties & Accessors Tutorial met voorbeelden | krijgen, set & value zoekwoorden in C #
- RU[C #] Свойства и Accessors Учебное пособие с примерами | Получить, установить и значение ключевых слов в C #
- PL[C #] Właściwości i Akcesory Tutorial z Przykładów | dostać, należy ustawić wartość i słowa kluczowe w języku C #
- JA[C#]例とプロパティ&アクセサチュートリアル| C#での取得、セット&値のキーワード
- AR[C #] للعقارات ويمكنهم الدخول تعليمي مع أمثلة | الحصول عليها، مجموعة وقيمة الكلمات الرئيسية في C #
- HI[C #] उदाहरणों के साथ प्रॉपर्टीज एंड पहुंचकर्ता ट्यूटोरियल | मिलता है, सी # में सेट और मूल्य कीवर्ड
- ID[C #] Properti & Accessors Tutorial dengan Contoh | mendapatkan, set & nilai kata kunci dalam C #