![]() Public static T ToObject(this IDictionary source) Right, others did mostly the same solution, but this uses less reflection which is more performance-wise and way more readable: public static class ObjectExtensions Using some reflection and generics in two extension methods you can achieve that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |