I have a large string containing multiple ID's in my reservation program for overview purpose.
string example = "ID01-20/05-Table1\n ID02-04/06-Table2\n ID03-21/05-Table1\n"
This is just an example, but the string could grow or shrink as reservations get deleted or added.
Currently, the overview is sorted based on ID's, but is it also possible using date or tables?
So it views as:
string example = "ID01-20/05-Table1\n ID03-21/05-Table1\n ID02-04/06-Table2\n"
Would be best if possible using Console.Display(); but I also wouldn't mind using something to generate a temporary string/list/array/whatever and displaying it that way.
I've seen it on static strings, but I'm not too sure how it would work as ID's get added and deleted.