This is what I have done so far:
var props = typeof (Settings.Lookup).GetFields(); Console.WriteLine(props[0].GetValue(Settings.Lookup)); // Compile error, Class Name is not valid at this point
And this is my static class:
public static class Settings { public static class Lookup { public static string F1 ="abc"; } }
Omu May 05 '11 at 1:22 pm 2011-05-05 13:22
source share