public bool dupa1 {get;set;}
public bool dupa2 {get;set;}
public int dupa3{get;set;}
public bool dupa4 {get;set;}
public static void Main()
foreach(PropertyInfo prop in typeof(Program).GetProperties())
if(prop.PropertyType==typeof(System.Boolean)){
Console.WriteLine(prop.Name);