How can I loop through the variables inside a class?
I have a class such as:
Public Class MyTestClass
Public DataField1 as string
Public DataField2 as integer
I want a function that allows me to loop through the class and get a list with DataField1 and Datafield2 (and the data type if possible). Anyone tell me how to do this?