1 using System.Reflection;
6 public static int Main(string[] args) {
7 string name = "System.String";
10 Type t = Type.GetType (name);
11 PropertyInfo[] ms = t.GetProperties();
13 foreach (PropertyInfo m in ms) {
15 Console.Write ("Type "+m.PropertyType.Name+" ");
16 Console.WriteLine (m.Name);