✅ Sorting Algorithm with Structs
Hello, for some reason I keep getting the words ICA08.SortingAlgorithm+Employee in the "Generated Value Display" list. Can someone explain why this keeps happening?
https://paste.mod.gg/qaftdojxyfvu/0
BlazeBin - qaftdojxyfvu
A tool for sharing your source code with the world!
3 Replies
You're probably trying to display something that isn't a string
The default
ToString()
method of any object just returns the name of that objectAngius
REPL Result: Success
Result: string
Compile: 285.830ms | Execution: 24.163ms | React with ❌ to remove this embed.
Ok, I added the ToString to my struct, now I just need t make it so that it displays "provided list" is checked
I will try it myself and ask if I get stuck