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.
Type.GetProperties
and associates return an array ofPropertyInfo
in no particular order. They coincidentally match order in declaration but that might change, as theres, per MSDN:might be a problem in the future