THIS Is Even More "Unsafe" Than Reflection In DotNet!
September 11, 2024
• 801 views
reflectionreflection in dotnetunsafe accessorsunsafe accessorreflection in C#C# reflectiondotnet reflectionnick chapsas.net 7 reflection.net 8 reflection.net 9 reflectionreflection tutorialdotnetdotnet coreC#csharpcsharp tutorialunsafe accessor tutorialhow to use unsafe accessorsreflection tutorial C#devleaderdev leadernick cosentinosoftware engineersoftware engineeringsoftware developersoftware developmentcodingprogramming
Everyone will warn you about using reflection in DotNet.
And, generally, this is for a handful of good reasons:
- It's slower than typical non-reflection code
- It's usually "breaking rules" that we have
- You might not even need it!
In this video, I'll explain Unsafe Accessors in CSharp and how they can do some powerful reflection-like behavior.
