I have a set of buttons that I want to add into an array so that they are ordered. The buttons I have are:
Monday0700Button
Monday0730Button
Monday0800Button
Monday0830Button
and so on.
How do I add a button into an array, and have them ordered, so that I can use this order later on for different uses.
Thanks.
Sounds like a
SortedDictionary<string, Button>would fill the bill.Alter the key you use depending on what you’re choosing to sort on.