using System.Collections.Generic;
public int A { get; set; }
public int B { get; set; }
public int C { get; set; }
public int A { get; set; }
var properties = new List<System.Reflection.PropertyInfo>();
properties.AddRange(typeof(Qux).GetProperties());
foreach (var p in properties) Console.WriteLine(p);