Search
Star
1.4k
Feedback
Setup for Free
C
C#
•
3y ago
•
7 replies
GameShark
✅ best LINQ method to sort after subtracting two properties?
I have a list of objects with two fields
, num1 and num2
. I would like to subtract num1 by num2 and then sort descending by the resulting value
. Can anyone recommend a LINQ method for this
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,415
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
✅ Using Linq's Cast Method
C
C# / help
4y ago
❔ Calling extensions method in linq query
C
C# / help
3y ago
EF/Linq Left joining two tables after filtering the first table
C
C# / help
3y ago
Sort properties (with annotations) in class?
C
C# / help
4y ago