How do I save class objects into a list?
I have a class with its variables and constructors and everything and a method that asks the user for that information, my question is how do I save what the user inputs into a list? thanks
list <myclass> = new list <myclass>; list can be used in a generic way so any type can be between the < > I hope this answers your question. Maybe you were looking for sonething totally different like file.io , xml-files or database solution.