C#C
C#3y ago
Kyhro

❔ How to display a class property in a list box ?

I am working on a recipe book software for uni and I have troubles displaying a class property in a listbox. I have an array of classes and I need to display the name property of the class in a listbox. I figured something is wrong with my display() method since the values are correctly retrieved (I checked it with message box). Can anyone tell me what I am doing wrong here ?
SPOILER_image0.jpg
Was this page helpful?