Enigma
Enigma
CC#
Created by Enigma on 12/24/2022 in #help
❔ help with creating a list of objects from other lists
yo, i have a project on nodes (a list of lists) and on the the functions i need to create a new party (the second tier) of all the character (first tier) which have the highest level in each party, how would i get around doing this, i have some code but its currently not working, this is the code, i would love some help, thank you public void SpecMinMax() //10 { Node<Party> temp = Partylist; Party minmax = new Party("minmax"); while (temp != null) { minmax.AddChar(temp.GetValue().FindStrongestChar()); temp = temp.GetNext(); } temp = new Node<Party>(minmax, temp); }
40 replies