public class A
{
public int i;
public string s;
}
public class B
{
public int bi;
public A A;
}
Here I get the properties of class B which in turn returns both the properties available.
However I need to differentiate the normal class properties to the complex properties.
I need to handle the property A of class B differently. Can somebody advise how I can write code to decide that this property is of type of another class?
I just gave an example of Class A as child in Class B here. In real-time, there can be many children.
class Anorclass Bhave any properties in your example - they have fields.