All pastes #492946 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-17 14:46 UTC
rendered paste body
using System;
using System.Reflection;

public class Test
{
  public int a{get{return 1;} }
  public int b{get{return 2;} }
}

public class App
{
  static void Main()
  {
     Test t= new Test();
     foreach(PropertyInfo p in t.GetType().GetProperties() )
       Console.WriteLine(p.Name);
  }
};