More specifically, if I have:
public class TempClass : TempInterface { int TempInterface.TempProperty { get; set; } int Temp
Jacob's code is missing a filter:
var props = typeof(TempClass).GetInterfaces().Where(i => i.Name=="TempInterface").SelectMany(i => i.GetProperties()); foreach (var prop in props) Console.WriteLine(prop);