L
Lloyd Dupont
I have a simple class like that:
class Foo
{
int bar;
}
somewhere else in the code I write
Type t = typeof(Foo);
PropertyInfo[] pi = t.GetProperties(BindingFlags.INstance |
BindingFlags.NonPublic);
unfortunately the pi array I get is of length 0 ?!?!
did I miss something ?
class Foo
{
int bar;
}
somewhere else in the code I write
Type t = typeof(Foo);
PropertyInfo[] pi = t.GetProperties(BindingFlags.INstance |
BindingFlags.NonPublic);
unfortunately the pi array I get is of length 0 ?!?!
did I miss something ?