Dynamic sort in .NET


Gravatar Image
shaq 2/19/2021 7:18:02 AM
Thanks a lot. Just got a question. As a newbie i dont understand the following code. Why checking if the childproperty is of generic type when in the both if and else clause you write the same code? property = SearchProperty(t, childProperties[i]);
Gravatar Image
Jeffrey Rosselle 2/19/2021 8:17:23 AM
Hmm good question... I might have had some other ideas there and forgot to remove the code completly. It's ben a while since I've written this. I've adjusted the code and removed the IF-statement. Thanks a lot for noticing!
Gravatar Image
Jhoel 2/18/2021 8:54:35 PM
Awesome Man thanks a lot.
Gravatar Image
Sandeep 11/11/2020 2:29:38 PM
Wonderful Job!! Made My Day!!