1

Hello word!
I'm in the middle of a C# reflection study session.
Anybody have exercises ideas to share? (:

Comments
  • 3
    Write a program that checks the assembly for certain classes with a special TestAttribute (that you have to write), initiate that class, extract getter & setter, call them to set a value and check if the returned value is correct.

    Something I've to implement in the worst programming language that coexist with Malbolge ... Java 🤮
  • 0
    You can either use default() or figure out how you can solve it else ... (like check the ctors)
  • 0
    @Asbetha that looks fun todo, thanks ^^
  • 0
    Yea it can save you time writting unit test for models ...
  • 0
    If you wanna do something else, you can try to reimplement MEF (Managed Extensibility Framework)
  • 1
    push ups, gotta tone those arms
  • 1
    @JhonDoe Don't forget leg day
  • 0
    Always skip leg day
  • 0
    I used dotPeek to decompile assemblys and wrote programms which saved hours of work by automating tasks.
    Reflection is very helpful and can save hours of work
Add Comment