How do I get a list of all the properties of a class?
You could use the System.Reflection namespace with the Type.GetProperties() mehod:
System.Reflection
Type.GetProperties()
PropertyInfo[] propertyInfos; propertyInfos = typeof(MyClass).GetProperties(BindingFlags.Public|BindingFlags.Static);