using System;
public class Program
{
public static void Main()
wow oWow = new wow();
oWow.test = 1;
oWow.test2 = 2;
foreach (var prop in oWow.GetType().GetProperties())
Console.WriteLine(prop.GetValue(oWow, null));
}
public class wow
public int test
get;
set;
public int test2