I am trying to understand reflection. I am trying to use reflection to get the properties from objects. I first was using
var propertiesForManuallyCreated = typeof(T).GetProperties();
but then realized it wasn't getting the base properties. I tried
var propertiesForManuallyCreatedBase = typeof(T).BaseType.GetProperties();
but that didn't get me the base properties. How can I get the base properties? Below is an image of what I am talking about when I say base.