✅ why not working
i created a constructor and im trying to use it but im getting red squiggle lines
![No description](https://cdn.answeroverflow.com/1263300803431628801/image.png)
12 Replies
Song is a function and you treat it like a class
i fix it
i change Songs to Song and it works
I'm a little confused by your overall project structure
Project namespace is SongsSelected, Songs is your list of songs and also the entry point of your program?
idk what im doing i never done a normal c# project before
only terraria mods
Ah
idek what im trying to make
Normally you'd assign an object it's own class in order to keep up maintainability
so all the songs are going to be one object, and i make them an object by putting them in a class
this what i have now
![No description](https://cdn.answeroverflow.com/1263303400322371604/image.png)
I mean you could make a
List
of Song
where Song
is an Object class you can create and add to your listim just trying to create a list of songs so that i can test shuffling algorithm
how do i make a list lol
List<T> myList = new List<T>();
Note that T
should be your actual Type