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