The title pretty much says it all. When I\'m doing some reflection through my classes, will the MemberInfo.GetCustomAttributes() method preserve the order of attributes on a
Unfortunately no, you cannot guarantee that the order will be the same as the order in which you specified them.
Disclaimer: I apologize ahead of time if I am misunderstanding your ultimate problem.
It sounds as if you need to be able to pass n number of strings to MenuItemAttribute and have MenuItemAttribute maintain the order of these strings as entered by the developer in the attributes constructor.
Here is a possible solution:
Have MenuItemAttribute use a LinkedListparams String[] in your constructor and add them to the LinkedList which would maintain the order.