C# get a list of class properties June 12, 2021 Just say you wanted to get a list of properties from a class var model = new Person(); foreach (var property in model.GetType().GetProperties()) { Console.WriteLine(property + " " + property.PropertyType.Name); } Read more