Adding properties to classes you don't own in C#



Adding properties to classes you don't own in C#

Adding properties to classes you don't own in C#

Join the NDC Conferences Giveaway: https://mailchi.mp/nickchapsas/ndc

Check out my courses: https://nickchapsas.com
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas

Hello everybody I’m Nick and in this video I will show you how you can use a, not so well known, C# type that allows you to add properties in types you don’t own. This type is called ConditionalWeakTable and it has a really interesting feature when it comes to memory management which makes it really useful.

Workshops
NDC London | 23-27 January 2023 | https://bit.ly/ndclondon2023
dotnetdays | 20-21 April 2023 | https://bit.ly/dotnetdays2023
NDC Oslo | 22-26 May 2023 | https://bit.ly/ndcoslo2023

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#csharp #dotnet

Comments are closed.