❔ 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
10 Replies
Angius
Angius3y ago
What's the issue, exactly?
live4eternity.jp
live4eternity.jpOP3y ago
im not understanding how to translate the psuedocode here is my code for it \
Angius
Angius3y ago
And what doesn't work about your code?
live4eternity.jp
live4eternity.jpOP3y ago
i need help with passing the sortby type to the parameter everytime should it be put into the list<type> ?
Angius
Angius3y ago
Just use a second parameter
live4eternity.jp
live4eternity.jpOP3y ago
can i dm you ??
Angius
Angius3y ago
No
TheBoxyBear
TheBoxyBear3y ago
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
live4eternity.jp
live4eternity.jpOP3y ago
okay thank you
Accord
Accord3y ago
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.

Did you find this page helpful?