Type.GetProperties and associates return an array of PropertyInfo in no particular order. They coincidentally match order in declaration but that might change, as theres, per MSDN:
The GetProperties method does not return properties in a particular order, such as alphabetical or declaration order.
might be a problem in the future
Type.GetPropertiesand associates return an array ofPropertyInfoin no particular order. They coincidentally match order in declaration but that might change, as theres, per MSDN:might be a problem in the future