Skip to content
Advertisement

I didn’t true use order by in linq

Hi i develop web app with c#. I have sql query and i convert to linq but it’s not working true because of order by

My sql query

My linq

Advertisement

Answer

Here’s how you can do the order by on the count of each group and take the 3 with the highest count.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement