I have a simple question, I created a class and put some properties in it (variables), then I create the object of this class and pass the values to that object, for example
objeto.nome = "bla bla bla"
objeto.idade = "bla bla bla"
objeto.cidade = "bla bla bla"
I would like to know how I do to leave the sort order that is in the object class
It's not intellisense, I need to turn this object into XML, and the tags need to be in order.
I'm returning a list of these objects and it's out of the order I want. Here is the 'product' class and the properties in the order I want.
WhenIgeneratetheobjectandfillinthedataitgetsintheorder
hereistheobjectthepropertiesareinthisorder
WhenIreturnthelisttheXMLismountedwiththetagsoutoftheorderIneed
I think it's clearer now