❔ Need help with this part of a programming assignment
hello i am brand new to c# programming and i am stuck on this part of psuedocode and was wondering if anyone could me
![](https://utfs.io/f/2468373c-36ba-4ec0-8d3b-b3882a711a33-1nq2cb.png)
10 Replies
What's the issue, exactly?
im not understanding how to translate the psuedocode here is my code for it \
![](https://utfs.io/f/017c58c3-1c4b-4b11-ae25-3eb7b7887d78-1nq2cb.png)
And what doesn't work about your code?
i need help with passing the sortby type to the parameter everytime should it be put into the list<type> ?
Just use a second parameter
can i dm you ??
No
The second note explains it. The Hero class has a Compare method with a SortBy parameter.
There needs to be a call to Hero.Compare somewhere
okay thank you
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.