Reflection in DotNet let's you do things you ABSOLUTELY shouldn't be able to...

Published: 03 August 2024
on channel: Dev Leader
469
17

Reflection in DotNet let's you do things you ABSOLUTELY shouldn't be able to...

... And that's exactly what makes it so cool!

But seriously. Disclaimer:
Just because you can, doesn't mean that you should.

Reflection can allow us to:
Call private constructors
Read private fields
Set private fields

... AND it can even let us set private readonly fields.

If that sounds dangerous, it's because it is. But only if you're abusing it just because you have the ability to do it.

What are some things that you use reflection for in your DotNet applications?

Check out the full video:
   • Power That No C# Dev Should Have - Th...  

----
📨 Sign up for my FREE email newsletter:
https://subscribe.devleader.ca
🗣️ Share with your network!

#SoftwareEngineer #SoftwareEngineers #SoftwareEngineering


Watch video Reflection in DotNet let's you do things you ABSOLUTELY shouldn't be able to... online without registration, duration hours minute second in high quality. This video was added by user Dev Leader 03 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 469 once and liked it 17 people.