Back to Browse

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

45.6K views
Jun 5, 2017
8:40

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] https://www.youtube.com/watch?v=T3iSD8L0MUo Subscribe ~ http://www.youtube.com/channel/UC1Ff3gOuY3FiijhhjFZmKAw?sub_confirmation=1 Share Video ~ https://youtu.be/_jbdVayepNE Channel Files Git ~ https://gitlab.com/RetroTK2/Channel-Files.git Channel Files ~ https://gitlab.com/RetroTK2/Channel-Files/repository/archive.zip?ref=Channel

Download

0 formats

No download links available.

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