Some believe that experienced developers do not make silly errors. Comparison errors? Dereferencing null references? Bet you think: « No, it’s definitely not about me… » ;) By the way, what about errors with sorting? As the title suggests, there are some nuances.

OrderBy(…).OrderBy(…)

Let me give you an example to describe the problem. Let’s say we have some type (Wrapper) with two integer properties (Primary and Secondary). There’s an array of instances of this type. We need to sort it in ascending order. First — by the primary key, then — by the secondary key.

Source de l’article sur DZONE

L’assistance proposée par ANKAA PMO

ANKAA PMO présent depuis plus de 20 ans sur le marché des services IT, accompagne les DSI dans leur recherche de compétences pour des besoins de renforts en mode régie ou l’externalisation de projets.
Vous souhaitez plus d’information ? Cliquez ici