HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

[C#] Properties & Accessors Tutorial with Examples | get, set & value keywords in C#

45,607 views November 2, 2017 8:40

Watch on YouTube
ChannelRetroTK2

Description 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…

About this tutorial

RetroTK2 published this 8:40 video tutorial on November 2, 2017. It has been watched 45,607 times on YouTube.

Channel
RetroTK2
Category
Education
Duration
8:40
Published
November 2, 2017
Views
45,607
Likes
526

Share

This tutorial in other languages