❔ 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
Angius2y ago
What's the issue, exactly?
live4eternity.jp
live4eternity.jpOP2y ago
im not understanding how to translate the psuedocode here is my code for it \
Angius
Angius2y ago
And what doesn't work about your code?
live4eternity.jp
live4eternity.jpOP2y ago
i need help with passing the sortby type to the parameter everytime should it be put into the list<type> ?
Angius
Angius2y ago
Just use a second parameter
live4eternity.jp
live4eternity.jpOP2y ago
can i dm you ??
Angius
Angius2y ago
No
TheBoxyBear
TheBoxyBear2y 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.jpOP2y ago
okay thank you
Accord
Accord2y 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.
Want results from more Discord servers?
Add your server