Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Small Adjustment on your Dynamic Approach #1
Codes taken from here: https://ozguradem.net/english/notes/2017/05/08/list-dynamic-to-list-dictionary/
Just to help you with your reflection, kindly change the following.
Lastly, I would suggest to do not use a reflection on this way. Have a way playing around with compiled expressions that manipulate the object Expression.Property method.
That would gladly help the performance.