With all the syntax options in C# one thing might look like the other, but that is not always the case! Can you spot what is wrong with one of these properties?!
Join this channel to get access to perks:
https://www.youtube.com/channel/GeraldVersluis/join
Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
Donβt forget to subscribe to my channel for more cool content: https://www.youtube.com/GeraldVersluis/?sub_confirmation=1
Follow me on Twitter: https://twitter.com/jfversluis
Join the Discord server: https://discord.gg/2cAyTGNHBD
Links
C#: Properties Documentation: https://learn.microsoft.com/dotnet/csharp/programming-guide/classes-and-structs/properties
Timestamps
0:00 β C# Properties, Watch Out For This!
0:07 β Two Properties, Are They The Same?
0:26 β Testing Our Properties
0:36 β Uh-Oh
Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD
Also find myβ¦
Blog: https://blog.verslu.is
Twitch: https://twitch.tv/jfversluis
All the rest: https://jfversluis.dev
#csharp #properties #memoryleak #dotnet #vs2022
source