get all property name as sring c# code example
Example 1: c# get object property value by name
return car.GetType().GetProperty(propertyName).GetValue(car, null);
Example 2: c# get class name by type
typeof(T).Name // class name, no namespace
typeof(T).FullName // namespace and class name
typeof(T).Namespace // namespace, no class name